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
107
33
3 months ago 00:13:19 1
04 Working with Resources - Netflix Clone with Laravel and React