iutrace / laravel-dashboard
Dashboard service
Installs: 10 817
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.4|^8.0
- illuminate/database: ^6.0|^7.0|^8.0
- illuminate/routing: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
- illuminate/validation: ^6.0|^7.0|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.2
- orchestra/testbench: ^4.5|^5.0|^6.0
- phpunit/phpunit: ^8.0|^9.0
README
Installation
-
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
Testing
docker run -it --rm --name iutrace-dashboard -e PHP_EXTENSIONS="" -v "$PWD":/usr/src/app thecodingmachine/php:7.4-v4-cli bash composer test