nivseb/lara-monitor
Lara Monitor is a lightweight monitoring package for Laravel that gives you visibility into your application's activity so you can spot issues early. Simple to install and integrate, it helps you keep your app healthy and responsive.
Architecture fit: nivseb/lara-monitor is a Laravel package that provides application performance monitoring via span recording (tracing). It integrates at the framework level (service provider, middleware, event listeners) and fits naturally into Laravel monoliths, modular monoliths, and Laravel-based microservices. The new span‑limiting feature directly addresses a common production concern: controlling telemetry volume and overhead. The package’s architecture is complementary to existing observability stacks (e.g., OpenTelemetry exporters) rather than replacing them.
Integration feasibility: Integration is low‑effort via Composer, configuration publishing, and environment variables. v1.2.0 widens compatibility to Laravel 13 and PHP 8.5, reducing friction for teams on modern stacks. The span‑limiting feature is opt‑in via configuration, so initial integration can proceed without it and be enabled later. No breaking changes are indicated (minor version bump).
Technical risk: Moderate‑low. The new span‑limiting feature requires validation under realistic load to ensure it does not inadvertently drop critical traces or introduce race conditions. Laravel 13 and PHP 8.5 support are forward‑looking; if your stack is on those versions, verify transitive dependency compatibility (e.g., OpenTelemetry SDK, other Laravel packages). The test suite upgrade to Pest 4 is a positive maintenance signal but not a runtime risk. Overall risk is acceptable for a minor release.
Key questions:
Stack fit: Designed for Laravel 8+ (likely; verify composer.json constraints) and PHP 8.1+. v1.2.0 explicitly adds Laravel 13 and PHP 8.5, making it suitable for greenfield and recently upgraded applications. It works alongside standard Laravel observability tooling (Telescope, Horizon, Pulse) without conflict, though overlapping functionality should be evaluated.
Migration path: For new adopters, install via Composer, publish config, and set environment variables. For teams upgrading from v1.1.x, the update is a minor version bump with no documented breaking changes—run the test suite and validate span‑limiting configuration in staging before production. If you rely on span recording volume for capacity planning, review the new limit settings and adjust dashboards accordingly.
Compatibility: Laravel 13 and PHP 8.5 support are forward‑compatible additions. However, PHP 8.5 is very new (2026); ensure your deployment environment and other dependencies support it. Pest 4 is a dev dependency only. Verify that any OpenTelemetry exporter or APM backend you use supports the span data format emitted by this package.
Sequencing:
Maintenance: The package is actively maintained (recent commits, dependency upgrades, test modernisation). The Pest 4 upgrade and Laravel 13/PHP 8.5 support indicate a forward‑looking maintenance posture. Expect periodic minor releases; pin to a minor version and review changelogs before upgrading.
Support: Community‑driven (GitHub issues). No commercial SLA unless your organisation provides one internally. For critical production monitoring, consider establishing an internal owner and a fallback observability path. The span‑limiting feature reduces vendor lock‑in risk by capping data volume.
Scaling: Span limiting is a direct scaling lever—it caps the number of recorded spans, reducing exporter throughput, storage costs, and memory pressure. Tune limits based on traffic patterns and tracing budget. For high‑throughput services, combine with sampling at the exporter level. The package itself adds per‑request overhead; benchmark at expected peak QPS.
Failure modes:
Ramp‑up: Low for Laravel developers—configuration is declarative and follows framework conventions. Monitoring concepts (spans, sampling, context propagation) require a short learning curve for teams new to distributed tracing. Allocate half a day for a developer to instrument a representative service and validate trace output; add time for tuning span limits based on observed traffic.
How can I help you explore Laravel packages today?