sinemacula/laravel-log-database
A Laravel package that stores application log entries in a database table instead of flat files, making logs easier to query, filter, and retain. It plugs into Laravel's logging channels so existing Log calls work unchanged while records are persisted and browsable.
Adopt when most of the following hold:
Look elsewhere when:
For executives: A small, low-cost open-source component that stores application logs in our existing database, making them searchable and tied to real business records — customer accounts, orders, tenants. It improves incident response and support turnaround without adding a vendor, a contract, or a new data-processing obligation. The new release adds Laravel 13 support, so adopting it now does not create upgrade debt later.
For engineering: It's a database log driver for Laravel — a Monolog channel writing to a table we can query with Eloquent. Benefits: centralized logs across multiple app servers, logs joinable to domain models, no external infrastructure. Costs and risks we must own: write load on the primary database, table growth and retention/pruning, indexing strategy, and the fact that it's a thin single-maintainer package. Recommended path: adopt for operational logging on services with low-to-moderate log volume, with a scheduled prune and a queue/async channel if write latency matters; keep it off the critical path for compliance-grade auditing. Fallback if we'd rather not take the dependency is a small in-house Monolog handler — the scope is genuinely small either way.
How can I help you explore Laravel packages today?