Search by

illuma-law / healthcheck-octane

miguelenes

Focused octane server health check for Spatie's Laravel Health package.

Package info

github.com/eloquage/healthcheck-octane

Language:Blade

pkg:composer/illuma-law/healthcheck-octane

Fund package maintenance!

illuma-law

Statistics

Installs: 64

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

v0.1.5 2026-10-23 13:41 UTC

README

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.