Download the PHP package olssonm/horizon-status without Composer
On this page you can find all versions of the php package olssonm/horizon-status. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download olssonm/horizon-status
More information about olssonm/horizon-status
Files in olssonm/horizon-status
Package horizon-status
Short Description Utility to check the status of Lavarel Horizon instances programmatically
License MIT
Informations about the package horizon-status
Laravel Horizon status checker
Simple utility to check the current status of your Laravel Horizon instance programatically.
Why?
Why use this package if the Artisan command horizon:status is available? Because there are times that the need to check the status programatically emerge. For example, if you via scheduling want to make sure that your Horizon-instance is running and you don't want to parse strings or the like:
Or perhaps you want to have a status-icon clearly visible directly in your blade-template:
Installation
Note – This package requires Laravel Horizon running on either Laravel 12 or 13.
Usage
There are four methods available with this package.
status
Returns one of the three available statuses, active, inactive or paused.
isActive
Return true or false whether status is active:
isInactive
Return true or false whether status is inactive:
isPaused
Return true or false whether status is paused:
License
The MIT License (MIT). Please see the LICENSE.md for more information.
© 2022 Marcus Olsson.
All versions of horizon-status with dependencies
illuminate/support Version ^12.0|^13.0
laravel/framework Version ^12|^13
laravel/horizon Version ^5.0