Skip to content

iutrace/laravel-dashboard

Repository files navigation

Iutrace Dashboard

Installation

  1. composer require iutrace/laravel-dashboard

  2. 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.

  3. 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