wazaari/monolog-mysql
Monolog handler that writes Laravel and PHP log records straight to MySQL. Ships with a ready-made schema, configurable table and connection, buffered bulk inserts for speed, and level filtering. Drops into Laravel's logging stack with minimal setup.
Look elsewhere when:
Executives: “This is a small, MIT-licensed Monolog handler that makes application logs queryable in our own MySQL database. It can speed up support and admin diagnostics without immediate observability spend, but it is tactical—not a strategic platform. We should pilot or fork it, not make it a critical-path dependency.”
Engineering: “It gives us a MySQL logging channel for Laravel via Monolog, enabling SQL-backed support/admin log views. The trade-offs are real: the package is stale since 2021, has no dependents, and may not support current Monolog/Laravel versions. If we proceed, time-box a spike, verify compatibility, isolate it from critical error logging, add retention/indexing, avoid PII, and be prepared to replace it with a small custom handler.”
How can I help you explore Laravel packages today?