iutrace/laravel-dashboard

Dashboard service

1.1.0 2021-11-11 23:48 UTC

This package is auto-updated.

Last update: 2024-04-12 05:13:58 UTC


README

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