Spatie's Laravel Health package provides powerful tools for monitoring the health of Laravel applications, including database connectivity, cache, and server uptime checks.
⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
The Laravel Health package by Spatie empowers developers to ensure the robustness and stability of their Laravel applications by monitoring various health indicators. With features like database connectivity verification, cache status checks, and server uptime monitoring, developers can proactively manage application health.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-health/1.34.7/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.4.1/loader.php';
require_once 'libs/illuminate/database/12.33.0/loader.php';
use Spatie\Health\HealthServiceProvider;
use Illuminate\Database\Connection;
use PHPUnit\Framework\TestCase;
$obj = new HealthServiceProvider();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.