illuma-law/healthcheck-octane
| Install | |
|---|---|
composer require illuma-law/healthcheck-octane |
|
| Latest Version: | v0.1.5 |
| PHP: | ^8.3 |
| Laravel: | 12 · 13 |
| Older releases: | 11 |
| License: | MIT |
| Last Updated: | Oct 23, 2026 |
| Links: | GitHub · Packagist |
Healthcheck Octane

A Laravel Health check that runs octane:status and reports whether your configured Laravel Octane server is running.
Requirements
- PHP 8.3 or later
- Laravel 12 or 13
- Laravel Octane and Spatie Laravel Health
Install
composer require illuma-law/healthcheck-octane
Use
Register the check with your Laravel Health checks:
use IllumaLaw\HealthCheckOctane\OctaneServerCheck;
use Spatie\Health\Facades\Health;
Health::checks([
OctaneServerCheck::new(),
]);
The check runs octane:status using the server set in config/octane.php. A running server is healthy. A stopped server is skipped in local and testing; elsewhere it warns by default.
Configuration
Publish the package configuration if you want to change the defaults:
php artisan vendor:publish --tag=healthcheck-octane-config
In config/healthcheck-octane.php:
- Set
requiredtotrueto fail the health check when Octane is stopped. The defaultfalsereports a warning. - Set
skip_outside_production_liketotrueto skip a stopped-server result outside production-like environments. The default isfalse.
You can also set HEALTH_OCTANE_REQUIRED and HEALTH_OCTANE_SKIP_OUTSIDE_PRODUCTION in your environment.
Tests
composer install
composer test
composer analyse
License
MIT. See LICENSE.md.
Related Packages
PHP port of Spring Actuator which provides an easy health checking capability of...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.1.5 | ^8.3 | ^12.0|| | MIT | |
| v0.1.4 | ^8.3 | ^11.0|| | MIT | |
| v0.1.3 | ^8.3 | ^11.0|| | MIT | |
| v0.1.2 | ^8.3 | ^11.0|| | MIT | |
| v0.1.1 | ^8.3 | ^11.0|| | MIT | |
| v0.1.0 | ^8.3 | ^11.0|| | MIT |