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
- 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