Basic CRUD Operation for Beginners Using Laravel 9 | PHP
This is a very basic tutorial for beginners. In this tutorial, I didn't use the CRUD operation which Laravel provides. I mainly use basic CRUD operations for understanding how to insert data, how to get data from the database and show them as a table, and how to update and delete data in a basic way. In this tutorial, you also get how to pass data via URL. And also get how to create dynamic URLs.
Basic CRUD Operation Using Laravel 9:
Step 1: Create Laravel Project using ( 'composer create laravel/laravel project_name' ) this command.
Step 2: Open your project on VSCode or your preferable code editor.
Step 3: Run your project using ('php artisan serve') this command.
Step 4: Create an HTML form on laravel blade template.
Step 5: Create a Controller using ('php artisan make:Controller ControllerName') this command to handle this form.
Step 6: Run Xampp.
Step 7: In localhost create a database called laravel.
Step 8: Create a table on the database.
Step 9: Create a model using ('php artisan make:Model ModelName') this command for this table.
Step 10: Using Query Builder write a query on Controller to insert data.
Step 11: Create a new View.
Step 12: Create an HTML table on this View.
Step 13: Create a Controller using ('php artisan make:Controller ControllerName') this command to show data on this table.
Step 14: Using Query Builder write a query on Controller to get data from the database.
Step 15: Add a new column called Update on the HTML table.
Step 16: Create a new View.
Step 17: Create an HTML Form on this View to Update Data.
Step 18: Create a Function on the Controller to handle this form.
Step 19: Using Query Builder write a query on Controller to Update Data.
Step 20: Add a new column called Delete on the HTML table.
Step 21: Create a Controller using ('php artisan make:Controller ControllerName') this command to Delete Data.
Step 22: Create a new View to Data Delete Confirmation.
Step 23: Using Query Builder write a query on Controller to Delete Data.
Видео Basic CRUD Operation for Beginners Using Laravel 9 | PHP канала Md Mehrab Patwary
Basic CRUD Operation Using Laravel 9:
Step 1: Create Laravel Project using ( 'composer create laravel/laravel project_name' ) this command.
Step 2: Open your project on VSCode or your preferable code editor.
Step 3: Run your project using ('php artisan serve') this command.
Step 4: Create an HTML form on laravel blade template.
Step 5: Create a Controller using ('php artisan make:Controller ControllerName') this command to handle this form.
Step 6: Run Xampp.
Step 7: In localhost create a database called laravel.
Step 8: Create a table on the database.
Step 9: Create a model using ('php artisan make:Model ModelName') this command for this table.
Step 10: Using Query Builder write a query on Controller to insert data.
Step 11: Create a new View.
Step 12: Create an HTML table on this View.
Step 13: Create a Controller using ('php artisan make:Controller ControllerName') this command to show data on this table.
Step 14: Using Query Builder write a query on Controller to get data from the database.
Step 15: Add a new column called Update on the HTML table.
Step 16: Create a new View.
Step 17: Create an HTML Form on this View to Update Data.
Step 18: Create a Function on the Controller to handle this form.
Step 19: Using Query Builder write a query on Controller to Update Data.
Step 20: Add a new column called Delete on the HTML table.
Step 21: Create a Controller using ('php artisan make:Controller ControllerName') this command to Delete Data.
Step 22: Create a new View to Data Delete Confirmation.
Step 23: Using Query Builder write a query on Controller to Delete Data.
Видео Basic CRUD Operation for Beginners Using Laravel 9 | PHP канала Md Mehrab Patwary
php laravel laravel 9 laravel 8 html form submit laravel form submit insert data using laravel Insert Data into Database Using Laravel HTML Form Submit Using Laravel php laravel Get Data from Database and Create Data Table Using Laravel html data table using laravel datatable laravel html table create using laravel get data from database mysql edit data using laravel Update Data Using Laravel Delete data using laravel CRUD Operation Using Laravel 9
Комментарии отсутствуют
Информация о видео
29 мая 2022 г. 1:27:06
01:29:32
Другие видео канала