Laravel Controller: Move Logic to Action or Service Class
Laravel Daily
0:00 / 0:00
Laravel Controller: Move Logic to Action or Service Class
38 745 просмотров · 5 лет назад
Laravel Daily
161 тыс. подписчиков
38 745 просмотров · 5 лет назад
In this live-coding experiment, I will try to move the logic outside of the Controller, and create an Action class, and later a Service class, performing the same thing. Which one do you prefer?
Video of Creating That API Controller: • Laravel API Controller Review: Voice Chall...
Pull Request to API Challenge: https://github.com/LaravelDaily/Larav...
- - - -
Support the channel by checking out our products:
Enroll in my Laravel courses: https://laraveldaily.teachable.com
Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
Purchase my Livewire Kit: https://livewirekit.com
View Laravel Code Examples: https://laravelexamples.com
Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter