New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

illuma-law/healthcheck-octane

Focused octane server health check for Spatie's Laravel Health package.
64
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
Maintainer: miguelenes

Healthcheck Octane

Tests Latest Version License

Octane server healthcheck illustration

A Laravel Health check that runs octane:status and reports whether your configured Laravel Octane server is running.

Requirements

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 required to true to fail the health check when Octane is stopped. The default false reports a warning.
  • Set skip_outside_production_like to true to skip a stopped-server result outside production-like environments. The default is false.

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

fivelab/diagnostic

The library for diagnostic application.

35,281 4
postalservice14/php-actuator

PHP port of Spring Actuator which provides an easy health checking capability of...

39,859 10
ileadu/laravel-octane-unix-socket-support

Add support for UNIX socket in Octane Swoole server

74 5
letflow/laravel-api-status

Provide status and health api endpoints

12,115 0

Version History

Version Released PHP Laravel License
v0.1.5 ^8.3 ^12.0||^13.0 MIT
v0.1.4 ^8.3 ^11.0||^12.0||^13.0 MIT
v0.1.3 ^8.3 ^11.0||^12.0||^13.0 MIT
v0.1.2 ^8.3 ^11.0||^12.0||^13.0 MIT
v0.1.1 ^8.3 ^11.0||^12.0||^13.0 MIT