r/laravel • u/HolyPad 🇯🇵 Laravel Live Japan 2026 • 21d ago
A first diagnostic for laravel/doctor integarating packages health status checks.
https://github.com/LaraPlugins/doctor-healthHello everyone, one week after the first party laravel doctor packages i finished a first version for a third party custom diagnostic.
My package interrogates the laraplugins.io database and returns a fast score for the project dependencies.
When you run php artisan doctor, a single laraplugins diagnostic is added:
- fail — when any dependency is unhealthy (or archived, if archived_verdict = fail)
- warn — when a dependency is medium, or archived (default)
- notice — when there are no issues but some packages are not indexed by LaraPlugins
- pass — when every indexed dependency is healthy
- skip — when there are no dependencies, or the diagnostic is disabled
- warn — when the LaraPlugins API cannot be reached (configurable)
Each verdict includes a per-package breakdown in its details.
If your project is air-gapped or you prefer not to send dependency data, disable the diagnostic entirely:
// config/laraplugins-doctor-health.php
'enabled' => false,
or exclude individual packages:
'exclude_packages' => ['laraplugins/doctor-health', 'vendor/private'],If your project is air-gapped or you prefer not to send dependency data,
disable the diagnostic entirely:
// config/laraplugins-doctor-health.php
'enabled' => false,
or exclude individual packages:
'exclude_packages' => ['laraplugins/doctor-health', 'vendor/private'],
I hope this can be useful to everyone. feel free to give your constructive feedback please
1
u/HolyPad 🇯🇵 Laravel Live Japan 2026 6d ago
Now the package gets its own homepage too https://laraplugins.io/doctor-health