okaufmann/Laravel Horizon Doctor
Run php artisan horizon:doctor in CI to validate Horizon and queue configuration.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Path to your Laravel application root (where composer.json and artisan live), relative to the repository root. | no | . |
| skip-prerequisites | When true, skip PHP, Composer, and package presence checks. Use only for debugging; the action will still fail if horizon:doctor exits non-zero. | no | false |
| minimum-php-version | Minimum PHP version as major.minor (e.g. 8.4). Should match the constraint of the okaufmann/laravel-horizon-doctor version you use. | no | 8.4 |
| strict-warnings | When true, run `php artisan horizon:doctor --strict-warnings` so documentation and consistency warnings fail the step (default: only hard errors fail). | no | false |
| no-overview | When true, pass `--no-overview` to hide the Redis queue vs Horizon mapping table (smaller logs). | no | false |
| verbose | When true, passes `-v` to `horizon:doctor` for full output (overview table, passing checks, long hints). Default is off for smaller CI logs. | no | false |
| scan-queued-classes | When `true`, passes `--scan-jobs`. When `false`, passes `--no-scan-jobs` (disables scanning even if enabled in config). When empty (default), uses `scan_queued_classes` from your published `config/horizon-doctor.php` / package defaults. | no | "" |
| strict-job-timeouts | When `true`, passes `--strict-job-timeouts` (scan must be on). When `false`, passes `--no-strict-job-timeouts`. When empty (default), uses `strict_job_timeouts` from config. Only affects the queued-class scan. | no | "" |
Outputs
| name | description |
|---|---|
| result | success when all doctor checks passed, failure otherwise |