tomatophp/laravel-logstash
A Laravel package that adds a Logstash logging channel, letting you ship application logs to Logstash and the ELK stack with minimal configuration.
v1 branch. Sequence the logging dependency alongside the Laravel upgrade, not after it.LOGSTASH_QUEUE=false to send inline) means log volume is absorbed asynchronously and can be scaled with worker capacity rather than request latency. This informs capacity planning and whether to route through the existing queue infrastructure or a dedicated connection (new queue connection/name options).Consider it when:
LOGSTASH_HOST env var and a channel entry is the entire integration surface.Look elsewhere when:
v1 and will not track new framework releases. Budget for migration, not indefinite pinning.Adoption risks to flag before committing:
v1 being parked on a branch signals a major-version-only support model going forward.For executives (one paragraph): This release is a small, low-cost upgrade to how our applications ship logs into our central logging platform. It brings support for our current Laravel and PHP versions, sends logs in the background so they never slow down customer requests, and is deliberately built so that a logging outage can never take the product down. The trade-off is equally clear: if the logging system is down, logs are dropped quietly rather than queued forever. That is the correct default for operational logs — but it means audit-grade and financial records must stay on a separate, guaranteed-delivery path. Recommendation: adopt for application logs, sequence the upgrade with our framework upgrade, and treat it as infrastructure we configure rather than software we build.
For engineering leadership:
The integration cost is near zero — a channel and a LOGSTASH_HOST value — and v2 adds meaningful operational controls (log level, dedicated queue connection and queue name, send timeout) that let us isolate logging traffic from business jobs and tune backpressure independently. It ships with a Pest suite, PHPStan, and a Laravel 12/13 CI matrix, which is the evidence we need that it keeps pace with framework releases.
For engineering teams (the two things to action):
v1 branch, so anyone staying behind is on a frozen dependency — treat that as a dated exception, not a resting state.How can I help you explore Laravel packages today?