This repo contains the code for the demo of Laratables package.
You can also download and run this app locally.
- Clone the repo:
git clone https://github.com/freshbitsweb/laratables-demo-one-to-many-polymorphic.git [DIRECTORY_NAME]
- Create
.env
file from the example file:
php -r "file_exists('.env') || copy('.env.example', '.env');"
-
Setup .env variables (Mainly APP_URL and DB_DATABASE)
-
Run following commands:
composer install
php artisan key:generate
php artisan migrate --seed
Done.