Download the PHP package illuma-law/healthcheck-octane without Composer
On this page you can find all versions of the php package illuma-law/healthcheck-octane. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download illuma-law/healthcheck-octane
More information about illuma-law/healthcheck-octane
Files in illuma-law/healthcheck-octane
Package healthcheck-octane
Short Description Focused octane server health check for Spatie's Laravel Health package.
License MIT
Homepage https://github.com/illuma-law/healthcheck-octane
Informations about the package healthcheck-octane
Healthcheck octane for Laravel
A focused octane server health check for Spatie's Laravel Health package.
This package provides a simple, direct health check to verify that your Laravel Octane server (RoadRunner, Swoole, or FrankenPHP) is currently running and responsive.
Features
- Server Status Check: Uses the
octane:statuscommand to verify if the configured Octane server is active. - Environment Awareness: Can be configured to automatically skip the check in local or testing environments where Octane might not be running.
- Detailed Meta: Captures the server type and status output for easier monitoring and debugging.
Installation
Require this package with composer:
Usage & Integration
Register the check inside your application's health service provider (e.g. AppServiceProvider or a dedicated HealthServiceProvider), alongside your other Spatie Laravel Health checks:
Basic Registration
Expected Result States
The check interacts with the Spatie Health dashboard and JSON endpoints using these states:
- Ok: The Octane server is running successfully.
- Skipped: The check is not running in a production-like environment (if configured).
- Failed: The Octane server is stopped or unreachable.
Testing
Run the test suite:
License
The MIT License (MIT). Please see License File for more information.
All versions of healthcheck-octane with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
illuminate/database Version ^11.0||^12.0||^13.0
illuminate/support Version ^11.0||^12.0||^13.0
spatie/laravel-health Version ^1.39