If you didn’t already, follow the README.md file or Quickstart guide to setup the project requirements.

If you don’t want to use Quick installation (which is recommended for your first project with ), follow these steps.

Data

Generate dummy content

database/seeders/DatabaseDemoSeeder.php

This command runs migrations and seeds the data for you, so you can skip all other steps in this section.

php artisan app:demo

If you prefer to do migrations and seeds manually, follow the steps below.

Run database migrations without data

This command will create tables defined in database/migrations.

php artisan migrate

Seed core data

Run only after migrations.

This command will seed data defined in database/seeders/DatabaseSeeder.php.

php artisan db:seed

Seed modules data

Run only after migrations.

This command will seed data for each enabled module defined in modules/{name}/database/seeders.

php artisan module:seed

Refresh migrations and core data

This command will re-create all tables and seed new data for core application.
All previously saved data will be removed.

This will not generate dummy data.
php artisan migrate:fresh --seed

Refresh migrations and all data

This command will re-create all tables and seed new data for core application and modules.
All previously saved data will be removed.

This will not generate dummy data.
php artisan migrate:fresh --seed && php artisan module:seed -a

Observers

Full docs coming soon…

Code formatting

uses Laravel Pint for code formatting.

If you prefer to follow same code style then run this command:

./vendor/bin/pint

Debugbar

comes with Debugbar for Laravel so you can debug your application easier and faster.

Use the Debugbar only in development.

It is disabled by default. To enable it set DEBUGBAR_ENABLED to true in your .env.