How to Structure Laravel 12 Projects
Structuring Laravel projects is one of the most typical questions I see in the community. The reason...
We found 8 results for "actions".
Structuring Laravel projects is one of the most typical questions I see in the community. The reason...
One of the most common questions I see about Laravel is how to structure the project. Or, in other words, where to put the logic out of the Controllers? In this article, I will try to show the options, trying to shorten one Controller method as an example.
A video of refactoring, after receiving comments about "fat controller".
Recently I've seen a few examples of app/Actions folder in Laravel projects. Let's take a look at what can be inside of it, and is it actually useful.
Our team is here to help. Ask us anything about Laravel development and we'll get back to you with personalized guidance.
Classes that take care of one specific task. This package introduces a new way of organising the logic of your Laravel applications by focusing on the actions your application provide.
Files in the example:
Files in the example:
Files in the example: