DRY Laravel: Use Base Controller For Common Responses

Published: 28 August 2021
on channel: Laravel Daily
12,097
498

One of the approaches to not repeat the same responses in each controller is to offload it to the so-called "base" Controller which is public and ready for you to use it.

Another approach with response macros - my video:    • DRY: Shorter Laravel Responses with M...  

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


Watch video DRY Laravel: Use Base Controller For Common Responses online without registration, duration hours minute second in high quality. This video was added by user Laravel Daily 28 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,097 once and liked it 498 people.