In this 6 minute video, I'll tell you all about Single Action Controllers in Laravel: What they are, how to use them, and why you might find a use for them in your own applications.
You'll learn:
- What single action controllers are in Laravel
- How to create an invokable controller with Artisan
- How to call a single-use controller in a route
- 0:00 Intro
- 1:18 Adding A Single Action Controller
- 3:14 Refactoring Existing Routes
- 4:56 Why Use This?
- 5:28 That's It
Send me new video ideas and vote on what's coming next: [ Ссылка ]
Follow me on Twitter! [ Ссылка ]
Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms: [ Ссылка ]
Ещё видео!