Quite often in the Controllers, you don’t have to use findOrFail() by ID field from the URL, instead, you may use Route Model Binding. In this video, I will show you how.
Official Docs: Route Model Binding #route-model-binding
Official Docs: Resource Controllers #resource-controllers
- - - - -
Support the channel by checking out our products:
- Enroll in my Laravel courses:
- Try our Laravel QuickAdminPanel:
- Purchase my Livewire Kit:
- View Laravel Code Examples:
- Subscribe to my weekly newsletter:
8 views
158
141
2 months ago 00:50:04 1
v2, pledging to Open source, and Pans
2 months ago 10:55:27 8
Laravel 11 in 11 hours - Laravel for Beginners Full Course
3 months ago 00:03:47 1
Laravel Route::bind() with Group Parameter
3 months ago 00:23:31 1
Laravel Contact Form Tutorial! (Vue, & Queueing Mail)
3 months ago 00:09:11 1
Chaperone, Enum Support & Circular Model References in Laravel
4 months ago 00:02:48 1
Working with multiple Route files in Laravel | How to | Tutorial | Quick Win Wednesday #QWW
5 months ago 00:42:13 4
Laravel Link Shortener - Build a URL Shortener Start to Finish! [FULL GUIDE]
5 months ago 00:08:31 3
“Built with Laravel“ Code Review: Routes and Controllers
5 months ago 01:30:52 2
Laravel Worldwide Meetup - A Deep Dive Into Performant APIs Using Laravel’s Built In Tools
5 months ago 00:03:06 4
Laravel: Route ENUM Binding Example
5 months ago 00:17:08 3
Self Hosting Reverse Proxy Servers
6 months ago 00:06:42 1
Exploring Laravel Rate Limiters: Control Traffic & Secure Actions ⛔
6 months ago 00:05:05 1
Laravel: Active Links with Tailwind, Blade and Route Names
6 months ago 00:13:05 1
Sanctum с Vue для Laravel 1. Laravel Sanctum с Postman. Получаем доступ к защищенному роуту
6 months ago 05:28:02 1
Создаем сайт на PHP и ООП. Кинопоиск Lite.
6 months ago 08:29:59 4
30 Days to Learn Laravel - Complete 8 Hour Course
6 months ago 02:12:20 1
Laravel Basics: APIs
7 months ago 00:05:24 2
New in Laravel 11.8: Multiple Route Files as Array
8 months ago 00:45:15 2
Build ChatGPT In Laravel 11 Using OpenAI API | Create ChatGPT Clone Using Livewire 3
8 months ago 00:20:32 2
30 Days to Learn Laravel, Ep 18 - Editing, Updating, and Deleting a Resource
8 months ago 00:20:03 2
30 Days to Learn Laravel, Ep 06 - View Data and Route Wildcards
9 months ago 00:06:49 1
30 Days to Learn Laravel, Ep 02 - Your First Route and View
9 months ago 00:14:19 4
New Laravel 11 Features
9 months ago 05:44:19 8
Laravel 11 + React Full Stack App with Inertia - Project Management App