saasscaleup/laravel-log-alarm
Log Alarm monitors your Laravel application's logs in real time, detects error events, and instantly notifies you via Slack and email. Frequency thresholds and cache-based tracking prevent alert flooding, keeping your team informed without the noise.
Architecture fit
.env (LA_LOG_TYPE, LA_LOG_TIME_FRAME, LA_LOG_PER_TIME_FRAME, LA_DELAY_BETWEEN_ALARMS, LA_SPECIFIC_STRING). Treat this as an on-call policy artifact requiring a decision record and change control, not a per-developer toggle.Integration feasibility
composer require, vendor:publish, a handful of env vars, and a five-error smoke test in Tinker. A mid-level Laravel engineer can produce a go/no-go recommendation in roughly half a day.Technical risk
specific_string is substring matching against log text, and log_type accepts a comma list. Expect false positives from noisy messages and false negatives from message-format drift.delay_between_alarms is the only suppression mechanism. Fatigue is a realistic outcome at default thresholds.Key questions
stack/single channel? What happens with custom channels and daily rotation?Stack fit
Log stays the source of truth, this package adds threshold-based notification on top.Migration path
Compatibility
(int) casts, which suggests prior string-comparison bugs in threshold logic. Confirm the pinned version includes that fix (v1.0.7 or later).Sequencing
log_per_time_frame and delay_between_alarms from observed noise, not defaults. Record the rationale in a config decision record.Maintenance
Support
Scaling
delay_between_alarms, so notification fan-out scales predictably. The scaling pressure is on the cache: high error rates mean high counter write rates, and if keys embed full messages, key cardinality and eviction become real concerns.Failure modes
Ramp-up
How can I help you explore Laravel packages today?