Member-only story
CRUD Operation In Laravel 5.8 Step By Step For Beginners
2 min readOct 3, 2020
Hi friends, before getting started with the tutorial CRUD operation in laravel 5.8, I want to say that Laravel latest version has changed a little bit process of coding. Assuming that you already have installed Laravel 5.8 in your system. If not yet installed then also read, how to create laravel project from scratch for beginners.
The requirements for the CRUD operation in Laravel 5.8 are as follows-
- We need a table in the database.
- Route Configuration in web.php file.
- A controller containing all the required functions.
- A model containing all the fields of the table in the database.
- We need a folder containing the following files in the resources/views folder of the public HTML folder. I have a folder name with item
add.blade.php
edit.blade.php
view_item_details.blade.php
All the urls are processed through web.php file inside the routes folder.