Skip to content

Memahami konsep EloquentORM, Migration, Seeding, add Foreign Keys, Relasi antar tabel (One to One dan One to Many), dan menampilkan data ke view

Notifications You must be signed in to change notification settings

syafiqfajrianemha/eloquent-orm-laravel8

Repository files navigation

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.

About

Memahami konsep EloquentORM, Migration, Seeding, add Foreign Keys, Relasi antar tabel (One to One dan One to Many), dan menampilkan data ke view

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published