iutrace/laravel-dashboard

Dashboard service

1.1.2 2024-07-17 15:24 UTC

This package is auto-updated.

Last update: 2025-01-17 16:32:12 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