Laravel Code Review: Validation Rules, Events, Seeds and Shorter Code
Today we have a review of an open-source project called Mealing. I show both something to learn from and something to improve in the code.
Original repository:
00:00 Intro
01:18 Custom Validation Rule
02:57 Events and Listeners
05:00 DB Seeds in Migrations
06:54 $request validated()
08:24 Shorter destroy() Method
09:40 Many-to-Many Attach
- - - - -
Support the channel by checking out our products:
- Try our Laravel QuickAdminPanel:
- Enroll in my Laravel courses:
- Purchase my Livewire Kit:
- Subscribe to my weekly newsletter:
10 views
128
40
5 years ago 00:05:30 110
Laravel Code from Controller into Service: The Right Way
4 years ago 00:14:21 39
Laravel Code Review: Why NOT Use Repository Pattern?
5 years ago 00:46:12 20
Maintaining Blueprint - Code generation for Laravel 8
4 years ago 00:10:16 19
9 Tips for Shorter Laravel Code
4 years ago 00:17:46 5
Laravel Code Review: Debugging, Repositories and Base Controller