Download the PHP package nawasara/alerting without Composer
On this page you can find all versions of the php package nawasara/alerting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nawasara/alerting
More information about nawasara/alerting
Files in nawasara/alerting
Package alerting
Short Description Central incident bus for Nawasara — register alert rules, dispatch fire/resolve via Alerter facade, state-machine with cooldown + escalation, routes notifications to nawasara/notification channels.
License MIT
Informations about the package alerting
nawasara/alerting
Central incident bus for Nawasara — register alert rules, dispatch
fire/resolve via the Alerter facade, state-machine with cooldown +
escalation, routes notifications to nawasara/notification channels.
Install
Quick start
1. Register an alert rule in your package's ServiceProvider
2. Fire the alert from a sync job / listener
fire() is idempotent — calling it again while the alert is already
firing does not send a duplicate notification (cooldown gate). Calling
again after the cooldown window triggers a re-notify (escalation hint).
3. Resolve when the underlying condition clears
Permissions
alerting.view— view dashboard + statesalerting.acknowledge— acknowledge a firing alert (stop re-notify)alerting.resolve— manually force a state to okalerting.silence— silence a state for N minutesalerting.rule.manage— code-level rule management (developers)
Sync failure auto-alerting
Any package extending nawasara/sync AbstractSyncJob automatically
gets sync-failure alerts when retries are exhausted — no manual rule
registration needed. Rule key is sync.job.failed.{service}.
State machine
Acknowledgement and silence are orthogonal modifiers — they suppress
re-notify without changing status.
Status
Fase 1 MVP — see docs/plan-nawasara-alerting-phase-1.md in the root
repo for the sprint-level breakdown.
All versions of alerting with dependencies
illuminate/support Version ^10.0|^12.0
spatie/laravel-permission Version ^6.0
nawasara/ui Version *
nawasara/sync Version *
nawasara/notification Version *
nawasara/auth-primitives Version *
livewire/livewire Version ^3.0