After quite a while, I'm making another junior Laravel code review, with tips on migrations, routing, PSR standards, Route Model Binding, and more.
00:00 Intro
00:40 Make Migrations Work
02:59 Seed Admin User
04:48 Short Project Demo
05:16 Routes: Laravel 7/8 Way
06:24 Method Names: PSR-1
07:01 Extra Routes Before Resources
07:35 Separate Admin Controllers
08:52 Likes/Unlikes - Package?
10:01 Route Model Binding with Slugs
11:29 Middleware in Routes
12:22 Weird protected $recipe
13:43 DRY Controller Code
Related links:
- PSR-1: Basic Coding Standard https://www.php-fig.org/psr/psr-1/
- Laravel Love: Likes and Dislikes for Eloquent Models: https://laravel-news.com/laravel-love
- 4 Ways to Auto-Fill Field Value in Eloquent • 4 Ways to Auto-Fill Field Value in El...
- - - - -
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 Laravel Junior Code Review: 12 Tips on Everything online without registration, duration hours minute second in high quality. This video was added by user Laravel Daily 16 September 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 75,16 once and liked it 2.5 thousand people.