Route Model Binding
Route Model Binding Improvements
Route Model Binding is one of the coolest and most used features of Laravel. Laravel 7 comes with some welcomed changes which include the new key customization and automatic scoping in nested routes. Let's take a look at some concrete example of how it works.
Eloquent Route Model Binding & RESTful Controller - Part 4
In part 4, let's wrap up the update method and implement the delete verb. Stick around as we explore other time saving tips using php artisan command.
Eloquent Route Model Binding & RESTful Controller - Part 3
In part 3 of our RESTful Controller, we are continuing with the Edit and Update methods of our controller. Follow along as we get this implemented on our project.
Eloquent Route Model Binding & RESTful Controller - Part 2
In part 2 of the RESTful Controller refactor, we are tackling the show method of our methodology. Along the way, we are going to learn how to add a wildcard to a route and all about Route Model Binding and how it can automatically fetch a record for us.