Laravel Nova tool for checking healthy of your Laravel app
stepanenko3/nova-health is a Laravel package for laravel nova tool for checking healthy of your laravel app.
It currently has 13 GitHub stars and 75.973 downloads on Packagist (latest version v1.2.3).
Install it with composer require stepanenko3/nova-health.
Discover more Laravel packages by stepanenko3
or browse all Laravel packages to compare alternatives.
Last updated

Laravel Nova tool for checking healthy of your Laravel app based on https://github.com/spatie/laravel-health
php: >=8.0laravel/nova: ^4.0You can install the nova tool in to a Laravel app that uses Nova via composer:
composer require stepanenko3/nova-health
Next up, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.
// in app/Providers/NovaServiceProvder.php
// ...
public function tools()
{
return [
// ...
new \Stepanenko3\NovaHealth\NovaHealth,
];
}
Publish the config file:
php artisan vendor:publish --provider="Stepanenko3\NovaHealth\ToolServiceProvider"
Click on the "Health" menu item in your Nova app to see the tool.
// app/Providers/AppServiceProvider.php
use Spatie\Health\Facades\Health;
use Stepanenko3\NovaHealth\Checks\OutdatedPackagesCheck;
use Stepanenko3\NovaHealth\Checks\SslCheck;
Health::checks([
SslCheck::new()
->domain('laravel.com'),
SslCheck::new()
->domain('snotax.com'),
OutdatedPackagesCheck::new()
->failWhenOutdatedPackagesIsHigher(1),
]);
All the configuration is managed from a single configuration file located in config/nova-health.php

Thank you for considering contributing to this package! Please create a pull request with your contributions with detailed explanation of the changes you are proposing.
This package is open-sourced software licensed under the MIT license.