yoeriboven/laravel-log-db
Store Laravel application logs in the database instead of files. This package adds a database log channel that saves messages, levels, context and timestamps to a queryable logs table, so you can browse, filter and search your logs directly from your app or admin panel.
Log model, and migration in-house.users/tenant tables, which enables in-app log viewers, per-customer error lookup during ticket triage, and filtering by user ID — features we would otherwise buy from a log SaaS or defer.Adopt when:
Look elsewhere when:
To executives: a small, low-risk package that puts application errors and logs directly into our existing database so support and engineering can search them in-app, without a new SaaS contract. The 3.0 release is housekeeping — it adds Laravel 13 compatibility and drops Laravel versions that are already end-of-life — so the cost of staying current is a single dependency bump, but only for products already on Laravel 12 or 13. Anything still on 9–11 needs its upgrade scheduled, or it stays pinned to an unmaintained 2.x.
To engineering: version 3.0 is a support-matrix change, not a feature release: adds Laravel 13, drops 9/10/11. No API or behavior changes are described. The trade-offs are the ones inherent to the package — a write per log entry against the primary database, and retention/pruning plus PII scrubbing are our responsibility, not the package's. Recommended posture: adopt on Laravel 12/13 projects with modest log volume, pair with a file/stdout channel for anything high-throughput, and add a pruning job on day one.
How can I help you explore Laravel packages today?