In this example we will show laravel 8 resource route controller example. This example will give you simple example of laravel 8 resource route. we will show laravel 8 resource routing example. Today i explain step by step what is resource route in laravel 8.
You can simply understand of resource route and controller in laravel 8 application. You have to create resource route on laravel they provide insert, update, view, delete routes and second you have to create resource controller that will provide method for insert, update, view and delete.
So, in this example we will see how to create resource route in laravel 8 and how they work.
First we have to understand why we choose resource route instead of different route. we always declare different different route for our crud application like as bellow:
Link : https://web-tuts.com/laravel-8-resource-route-controller-example/
#laravel #php #route