exs/error-bundle
Symfony 2.x bundle that logs all 4xx and 5xx HTTP errors and exceptions to the database, capturing useful debugging details for each one. Pair it with a cron-based monitor to spot error spikes and alert the dev team, enabling rapid fixes before small issues become outages. Quick to install via Compo...
in case you're trying to persist a dbal exception, you need to reset the entity manager before persisting and flushing. else you'll get a new exception and it won't catch any of these 2 exceptions.
Logs to the database directly
How can I help you explore Laravel packages today?