padam87/error-log-bundle
Symfony bundle that captures application errors and exceptions in a Doctrine-backed log and provides a simple admin interface to browse and inspect them, keeping production issues visible without digging through server logs.
composer require padam87/error-log-bundle:^0.2.0. Verify the composer.json of the tag before committing — check the require block for the PHP and framework constraints, because a Bundle-suffixed package is a Symfony convention and the Symfony bridge may not be relevant inside a Laravel app.DependencyInjection/Configuration.php), and the event listener/subscriber that actually captures the error. Those three files tell you the entire data flow — everything else is wiring.laravel.log. Wire it to the kernel.exception-equivalent (App\Exceptions\Handler::register() / reportable() in Laravel) rather than replacing your logging stack.Bundle class, ignore it in Laravel and instantiate the underlying logger/writer service directly from a small service provider. You get the useful core without fighting the container.reportable() rather than middleware. A global middleware only sees HTTP exceptions; reportable() also catches queued jobs, scheduled commands, and console errors — which is usually where the errors you actually care about live.QueryExceptions collapse into one issue with a count, instead of 10,000 rows. This is the single biggest usability lever for any error-log package.model:prune or a scheduled DELETE WHERE created_at < now()->subDays(30) from day one; error tables grow faster than any other table you own.v0.1.1...v0.2.0 yourself before upgrading; on a 0.x package, a "minor" bump can absolutely contain breaking changes.composer.json and read the diff on every bump; don't let ^0.2 float you into a rewrite.try/catch and swallow — never let error logging become the error.serialize(). Store class, message, file, line, and a trimmed trace rather than the raw object.null writer in local/testing is how you keep test suites fast and CI logs clean.How can I help you explore Laravel packages today?