Laravel Junior Code Review: 12 Tips on Everything

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 - Laravel Love: Likes and Dislikes for Eloquent Models: - 4 Ways to Auto-Fill Field Value in Eloquent - - - - - Support the channel by checking out our products: - Enroll in my Laravel courses: - Try our Laravel QuickAdminPanel: - Purchase my Livewire Kit:
Back to Top