Skip to content

A project on how to perform create, read, update, delete actions with a database.

Notifications You must be signed in to change notification settings

Doro97/CRUD-Operations-with-Laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

CRUD-Operations-with-Laravel

A project on how to perform create, read, update, delete actions with a database.

Development Environment
  1. Create Laravel app files:
    composer create-project laravel/laravel <project-name>
  2. Create database and configure environment Create a database and configure the data base on the .env file
  • Prepare database migration classes for the target table. php artisan make:migration create_<table-name>_table. It will create a PHP Laravel migration class in the database/migrations path
  1. Migrate the schema into the database This creates tables into the database. php artisan migrate

  2. Start the server php artisan serve

  3. Create Laravel model php artisan make:model NameOfModel This will create the following Model class into the app/Model directory

  4. Create Laravel app controller php artisan make:controller NameOfController

  5. Build layouts

About

A project on how to perform create, read, update, delete actions with a database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages