Download the PHP package tylerwoonton/laravel-dashboard-health-check-tile without Composer
On this page you can find all versions of the php package tylerwoonton/laravel-dashboard-health-check-tile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tylerwoonton/laravel-dashboard-health-check-tile
More information about tylerwoonton/laravel-dashboard-health-check-tile
Files in tylerwoonton/laravel-dashboard-health-check-tile
Package laravel-dashboard-health-check-tile
Short Description A tile bringing support for ukfast/laravel-health-check to spatie/laravel-dashboard.
License MIT
Homepage https://github.com/tylerwoonton/laravel-dashboard-health-check-tile
Informations about the package laravel-dashboard-health-check-tile
Health Check Tile for Laravel Dashboard
The purpose of this package is to integrate the ukfast/laravel-health-check package into a tile for spatie/laravel-dashboard.
Installation
This package requires the ukfast/laravel-health-check package to be running on the endpoint provided so we can assert that your services are working. Please follow the instructions in that repo to install the package.
You can install the package via composer:
Configuration
In the dashboard
config file, you must add this configuration in the tiles
key.
The sites
array should contain an array of sites with their respective URLs and any custom headers
or Guzzle options
that need to be executed when hitting the URL.
The timeout
option is the Guzzle request timeout in seconds. This is, by default, 3 seconds per request.
The show_failures
option determines whether the services failing are displayed on the tile. If you only want to see concise, overall statuses it's fine to disable this.
The refresh_interval
option determines how many seconds will pass before the dashboard tile is re-rendered.
In app\Console\Kernel.php
you should schedule the \TylerWoonton\HealthCheckTile\Commands\FetchHealthCheckDataCommand
to run. You can let it run every minute if you want. You could also run it less frequently if fast updates on the dashboard aren't that important for this tile.
Usage
In your dashboard view you use the livewire:health-check-tile
component.
Customising the view
If you want to customise the view used to render this tile, run this command:
Testing
Contributing
We welcome contributions to this package. All new changes should be well-tested and follow PSR-12 standards.
Please refer to our CONTRIBUTING file for more information.
Treeware
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
All versions of laravel-dashboard-health-check-tile with dependencies
guzzlehttp/guzzle Version ^6.5
illuminate/console Version ^8.0
illuminate/http Version ^8.0
illuminate/support Version ^8.0
livewire/livewire Version ^2.0
spatie/laravel-dashboard Version ^2.0