Display the results of the spatie/laravel-health package on the Laravel Pulse dashboard.
Laravel version | Package version |
---|---|
11.x | ^0.2.x |
10.x | 0.1.0 |
You can install the package via composer:
composer require dutchcodingcompany/pulse-spatie-health
You need to publish the Pulse Dashboard view with the following command:
php artisan vendor:publish --tag=pulse-dashboard
Now you can add the card to the dashboard view (resources/views/vendor/pulse/dashboard.blade.php
):
<x-pulse>
<livewire:pulse.spatie-health cols="6"/>
{{-- Add more cards here --}}
</x-pulse>
Follow the spatie/laravel-health documentation to configure the health checks.
Optionally you can publish the config file with:
php artisan vendor:publish --tag="pulse-spatie-health-config"
You can use the config to hide checks from the pulse dashboard. This can be useful if you want to hide checks that are not relevant for the dashboard.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.