- Eloquent ORM
- Migration
- Seeding
- add Foreign Keys
- Relationships ( One to One and One to Many )
- Read data
- PHP >= 7.3
- Laravel 8.x
- Database MySQL or MariaDB
Follow this instructions to install the project:
- Clone this repo
$ git clone https://github.com/syafiqfajrianemha/eloquent-orm-laravel8.git $ cd eloquent-orm-laravel8$ composer install$ cp .env.example .env$ php artisan key:generate- Set database config on
.envfile $ php artisan migrate --seed$ php artisan serve- Open
http://localhost:8000with browser.
This project is open-sourced software licensed under the MIT license.