Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dutchcodingcompany/pulse-spatie-health

A Laravel Pulse card to show the results of the Spatie Health package.
https://github.com/dutchcodingcompany/pulse-spatie-health

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Pulse Spatie Health Card

[![Latest Version on Packagist](https://img.shields.io/packagist/v/dutchcodingcompany/pulse-spatie-health.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/pulse-spatie-health)
[![Total Downloads](https://img.shields.io/packagist/dt/dutchcodingcompany/pulse-spatie-health.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/pulse-spatie-health)

Display the results of the [spatie/laravel-health](https://spatie.be/docs/laravel-health/v1/introduction) package on the [Laravel Pulse](https://pulse.laravel.com/) dashboard.

![example-screenshot.png](docs-assets%2Fscreenshots%2Fexample-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:

```bash
composer require dutchcodingcompany/pulse-spatie-health
```

## Usage

You need to publish the Pulse Dashboard view with the following command:

```bash
php artisan vendor:publish --tag=pulse-dashboard
```

Now you can add the card to the dashboard view (`resources/views/vendor/pulse/dashboard.blade.php`):

```html

{{-- Add more cards here --}}

```

Follow the [spatie/laravel-health](https://spatie.be/docs/laravel-health/v1/installation-setup) documentation to configure the health checks.

## Customization

Optionally you can publish the config file with:

```bash
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](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Bram Raaijmakers](https://github.com/bramr94)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.