Setup your application
README.md
file or Quickstart guide to setup the project requirements.
config/database.php
. It’s enabled by default. If you don’t want to use it,
just comment out or delete the last 3 settings under connections.sqlite
;
busy_timeout, journal_mode and synchronous.migrate:fresh
on existing SQL database with WAL enabled, your
will probably get an error “General error: 11 database disk image is
malformed”. After that, just run the command once more. This has been
reported on offical Laravel GitHub.database/migrations
.
database/seeders/DatabaseDemoSeeder.php
This command seeds the dummy demo data for you, so you can skip all other steps in this section.
database/seeders/DatabaseSeeder.php
.
modules/{name}/database/seeders
.
database/seeders
folder and then
you don’t need to run this command. Or you can modify default seeders.php artisan db:seed
, instead of updating modules
seeder files.app/Traits/HasEnumOptions.php
trait which extends the enums with custom key-value options, options for select inputs and customized name.
For example, RoadmapType
enum is using getDescriptiveName
function to keep the enum names short, but provide more context when using it as part of your UI in options format.
Models
folder or User.php
file, depends which one you run):
DEBUGBAR_ENABLED
to true
in your .env
.