Download the PHP package happenv-com/laravel-true-modular-health without Composer
On this page you can find all versions of the php package happenv-com/laravel-true-modular-health. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download happenv-com/laravel-true-modular-health
More information about happenv-com/laravel-true-modular-health
Files in happenv-com/laravel-true-modular-health
Package laravel-true-modular-health
Short Description Module-scoped health checks for laravel-true-modular: declare checks per module, aggregate runtime + architecture health via Spatie Laravel Health and module:doctor.
License MIT
Informations about the package laravel-true-modular-health
Health for Laravel True Modular
A companion to laravel-true-modular that lets each
module declare its own health checks, registers them into
Spatie Laravel Health, and adds a module:doctor command
that aggregates runtime health (the module checks) with architecture health (dependency-cycle
detection) in one report.
Why
The core package gives every module a persistent capability record (the module manifest). This package reads that manifest, so health checks live next to the module that owns them instead of in one central list:
InventoryLedgerCheck is a plain Spatie Check (Spatie\Health\Checks\Check). The core stores only the
class name; this package validates and instantiates it.
Install
It auto-discovers. On boot it merges every module's declared checks into Spatie Health (preserving any
checks you registered yourself), so your existing health:check command, scheduled run, and dashboard
include them automatically.
module:doctor
The command exits non-zero when any check is failed or crashed, so it doubles as a CI gate. JSON
output carries a stable envelope:
Architecture checks
Cycle (Happenv\LaravelTrueModular\Health\Architecture\CycleCheck) fails when the module dependency
graph contains a circular dependency. It reuses the core's own topological sort, so it sees the same
edges the framework uses to order providers.
License
MIT.
All versions of laravel-true-modular-health with dependencies
happenv-com/laravel-true-modular Version ^1.0
spatie/laravel-health Version ^1.0