Appearance
Local Development
Composer Scripts
The project ships with a few important scripts:
composer dev
Runs:
php artisan servephp artisan queue:listen --tries=1php artisan pail --timeout=0
composer test
Runs:
bash
php artisan test --parallel --processes=4composer lint
Runs:
bash
php artisan lint --with-jscomposer setup
Runs install, env/key setup, and migrations without seeding.
Useful Artisan Commands
bash
php artisan migrate --seed
php artisan permissions:sync
php artisan dependencies:buildWhat Happens After composer install
The dashboard composer.json already handles:
- creating
.envfrom.env.examplewhen missing - generating
APP_KEY - package discovery
Daily Development Loop
- run
composer dev - make backend or frontend changes
- rebuild dependencies with
php artisan dependencies:buildif needed - run
composer test - run
composer lint
When to Rebuild Frontend Dependencies
Run php artisan dependencies:build after changing:
lang/*.jsonlang/{locale}/*.phppublic/assets/inits/*.js
The middleware will also trigger rebuilds automatically for web requests when the lock file is stale.