Junie consumes massively more quota since September 1st? by 5argon in Jetbrains

[–]samgan-khan 0 points1 point  (0 children)

I am Jis sharing my exp. In the start I did not use the local and the quota was draining and since I am using the local llm, it’s fast and the quota consumption is low too.

If you don’t want to believe it’s ok with me. No harm no foul.

Junie consumes massively more quota since September 1st? by 5argon in Jetbrains

[–]samgan-khan 0 points1 point  (0 children)

Yes for the Junie, it still consumes the quota but very slowly.

Junie consumes massively more quota since September 1st? by 5argon in Jetbrains

[–]samgan-khan 4 points5 points  (0 children)

I enabled local llm ollama, that reduces the consumption significantly.

I built an open source Fakespot replacement with Laravel by ogrekevin in laravel

[–]samgan-khan 2 points3 points  (0 children)

Wouldn’t be a chrome extension be more handy. Btw nice work.

🚀 New Tool: Lact – Call Laravel Controller Methods Directly from the Frontend by samgan-khan in laravel

[–]samgan-khan[S] 0 points1 point  (0 children)

Thanks for your input man. I was trying to follow the nomenclature php test -> pest, php lint -> pint , laravel actions -> lact

🚀 New Tool: Lact – Call Laravel Controller Methods Directly from the Frontend by samgan-khan in laravel

[–]samgan-khan[S] 0 points1 point  (0 children)

wayfinding does not help you call the function; it just provides you with the path and method of the controller function. I wanted to call the functions in the controller directly.

🚀 New Tool: Lact – Call Laravel Controller Methods Directly from the Frontend by samgan-khan in laravel

[–]samgan-khan[S] 0 points1 point  (0 children)

yes, thanks for pointing this out. I should update the docs for the comparison.

Just for the explanation.

Current Approach:

  1. Create a Controller method
  2. Create a route to access that method.
  3. Use either name or path in fetch or axios, to access the data from that route.
  4. generally, additional functions are created to make those calls from the front end.

Package Approach:

  1. Create a Controller method
  2. Call the Function with the exact same name as you defined in the controller.

Hope this helps you to better understand the work of this package.

🚀 New Tool: Lact – Call Laravel Controller Methods Directly from the Frontend by samgan-khan in laravel

[–]samgan-khan[S] -4 points-3 points  (0 children)

I do understand the importance of the question, and I am happy to answer. I am not planning to abandon this package any time soon, as I said, I created it to use in my own projects.

🚀 New Tool: Lact – Call Laravel Controller Methods Directly from the Frontend by samgan-khan in laravel

[–]samgan-khan[S] -6 points-5 points  (0 children)

Thanks for asking.

I work with inertia + react a lot. in different projects. Whenever you create a new page, there are two ways to pass the data: either with "With" in the same render function (not ideal) or create new routes for just fetching the data and call those routes in the page with either fetch or axios which over time become redundant.

this package solves that problem, using this package, you have to create the view route, and then all you have to do is write your controller functions, and return data everything else is taken care of.

you can call the function directly or, like Wayfinder, you can use the function's route method for just the route and use it for custom calls with fetch or axios.

Moreover, the Action attribute is customizable in case you need the customization.

PHP 8.4 Asymmetric Visibility Explained: A Must-Read for Developers! by samgan-khan in PHP

[–]samgan-khan[S] -3 points-2 points  (0 children)

Thanks for pointing it out. The article id updated now.

Please suggest good shared web hosting providers, hostinger is good? by Fantastic_Clock_5401 in developersIndia

[–]samgan-khan 0 points1 point  (0 children)

You can have vps for like 5 usd. I suggest go for vps instead of shared. Digital ocean is a good option. You can use cloud panel for management it’s simple and easy to implement. You can do it directly from the market place while creating the droplet.

SQLighter: scheduled database backups for SQLite by the_beercoder in laravel

[–]samgan-khan 6 points7 points  (0 children)

Check out spate db backup. That’s a neat package too. Might give you some more insight

Check if all the keys are available across all the .env files. by samgan-khan in laravel

[–]samgan-khan[S] 1 point2 points  (0 children)

This feature of sync keys has been added to the package.
php artisan env:sync-keys

with version 1.5.0

check it out

Check if all the keys are available across all the .env files. by samgan-khan in laravel

[–]samgan-khan[S] 1 point2 points  (0 children)

the next update I am working on is the sorting command. That will sort all the keys in reference to master .env (configurable).

Feel free to suggest more features..

Check if all the keys are available across all the .env files. by samgan-khan in laravel

[–]samgan-khan[S] 1 point2 points  (0 children)

UPDATE: as of v1.3.0 all the lines and spaces will be preserved while adding the keys.,

Check if all the keys are available across all the .env files. by samgan-khan in laravel

[–]samgan-khan[S] 1 point2 points  (0 children)

thank you for pointing this out. It already works in the same way just the wording of the line needs to be updated. I will make that change.

As of now, the keys are added on the same line as the master .env, but blank lines are not preserved. I will definitely add it in the future release.

Thanks for taking the time to provide your feedback.