Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dutchcodingcompany/pulse-spatie-health
- Owner: DutchCodingCompany
- License: mit
- Created: 2024-01-12T10:38:44.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T21:56:59.000Z (6 months ago)
- Last Synced: 2024-09-21T13:27:48.121Z (3 months ago)
- Language: Blade
- Size: 97.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
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.