-
composer require iutrace/laravel-dashboard
-
Publish the config file by running
php artisan vendor:publish --provider="Iutrace\Dashboard\DashboardServiceProvider"
. The config file will indicate the directory where the metrics are located. -
Optional, you should call the Dashboard::routes method within the boot method of your App\Providers\AuthServiceProvider. This method will register the routes necessary to get the metrics data
docker run -it --rm --name iutrace-dashboard -e PHP_EXTENSIONS="" -v "$PWD":/usr/src/app thecodingmachine/php:7.4-v4-cli bash
composer test