Using single action controllers in Laravel

Published: 01 February 2023
on channel: Andrew Schmelyun
9,186
388

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: https://suggest.gg/aschmelyun

Follow me on Twitter!   / aschmelyun  

Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms: https://aschmelyun.substack.com


Watch video Using single action controllers in Laravel online without registration, duration hours minute second in high quality. This video was added by user Andrew Schmelyun 01 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,186 once and liked it 388 people.