Commands
With the help of composer, there are a multiple of useful custom commands to execute in your terminal.
composer load
composer dump-autoload
. Autoloads all classes under the specified namespaces in composer.json
under the `autoload -> psr-4` section.serve
composer serve
composer serve:local
composer serve:remote
*The `:8080` is the default port but it can be modified in composer.json
migrate
composer migrate
composer migrate:apply
app/migrations
folder in the defined sequencing order.
composer migrate:drop
seed
composer seed
composer seed:all
app/seeders/DatabaseSeeder.php
.
composer seed:user
app/seeders/UserSeeder.php
for seeding the `user` table.*Any created seeder can be added in app/seeders/DatabaseSeeder.php
and/or have a custom script added for it under the `scripts` section in composer.json
to be run individually.
composer migrate:apply:seed
make
composer make
composer make:migration
composer make:seeder
composer make:controller
errors & responses
composer errors
composer responses
composer errors:on
composer responses:on
composer errors:off
composer responses:off