Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 764 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 764 Bytes

Eloquent ORM Laravel 8

Features

  1. Eloquent ORM
  2. Migration
  3. Seeding
  4. add Foreign Keys
  5. Relationships ( One to One and One to Many )
  6. Read data

Specification

  • PHP >= 7.3
  • Laravel 8.x
  • Database MySQL or MariaDB

Installation Steps

Follow this instructions to install the project:

  1. Clone this repo $ git clone https://github.com/syafiqfajrianemha/eloquent-orm-laravel8.git
  2. $ cd eloquent-orm-laravel8
  3. $ composer install
  4. $ cp .env.example .env
  5. $ php artisan key:generate
  6. Set database config on .env file
  7. $ php artisan migrate --seed
  8. $ php artisan serve
  9. Open http://localhost:8000 with browser.

License

This project is open-sourced software licensed under the MIT license.