Actions are single classes that do one thing. Laravel Actions is a package that allows you to run these classes as anything you want, whether it's a controller, listener, console command – or just on its own.
Keeping your app structure to single classes like this lets you focus on what your app does rather than the design decisions around controllers, listeners and commands.
Single actions are also easier to test, and we'll also cover that!
This course is for you if:
Hey, I'm the founder of Codecourse and a full-stack developer of over 10 years.