Skip to content

A Laravel Pulse card to show the results of the Spatie Health package.

License

Notifications You must be signed in to change notification settings

DutchCodingCompany/pulse-spatie-health

Repository files navigation

Pulse Spatie Health Card

Latest Version on Packagist Total Downloads

Display the results of the spatie/laravel-health package on the Laravel Pulse dashboard.

example-screenshot.png


Installation

Installation

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

Usage

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.

Customization

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.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.