Very happy to listen @nunomaduro talking about Actions, i use this pattern on every single project.
It's help me a lot to easily find where too look when i work on it, also here is some advantage :
- No dependency, i can call it from tinker, console or http controller
- Naming, the file name tell me about what can i found inside.
- Testing, ultra easy to unit test each
- Creating, i use www.laravelactions.com, so it's one command to create a new action.
- I can also use action as sync or async using queues.
- I can also call action, from another action.
- It's respect the "S" of solid principe
•
Challenge : Laravel AI.
Wouldnt be fun to make ML as simple as the framework itself ?
Would love to see that running. I know that is already a php package we can wrap up to do this 💪
•
What's your setup to make your Laravel app alive ?
Here is mine :
- Ide : Visual Code Studio
- Git : GitKraken & Github
- Ops : Forge & AWS
I need only these, to make magic happens 🎉
•