A web application built with the Laravel framework.
Run
composer install. If applicable, compile Node assets. Please ensure your PHP version meets the Composer requirement (PHP 8+).composer install
When you first install it, the .env will not be present
cp .env.example .env
php artisan key:generate
And tweak your default settings if needed (mysql, security, etc.)
php artisan serve
This will serve the application at:
Optionally you can specify a port with:
php artisan serve --port=8005
This will serve the application at:
Run development build
npm run dev
Run development watch
npm run watch
watch-poll
Run production build
npm run production
When developing new filament components in dashboard you may need to optimise the backend to load them quicker.
The following will create cache files in the bootstrap/cache/filament directory:
php artisan filament:cache-components
The following will cache the configuration files and routes and will optimise filament components (including stage and production):
php artisan optimize
Additionally, you may consider the following command to cache frontend assets:
php artisan icon:cache
To make files in storage/app/public (such as certificate background images) accessible from the web:
php artisan storage:link
This will connect [/var/www/html/public/storage] to [/var/www/html/storage/app/public].
sail php ./vendor/bin/pest
Umami runtime configuration is DB-backed via Spatie Settings. config/umami.php is used only for defaults and bootstrap.
The Laravel framework is open-sourced software licensed under the MIT license.