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...
Architecture fit
exs/error-bundle is a Symfony 2.x bundle, not a Laravel package. It registers a container service that listens for HTTP 4xx/5xx exceptions and persists them via Doctrine. There is no Laravel service provider, facade, config publish, migration, or Eloquent model.kernel.exception listener ≈ Laravel's App\Exceptions\Handler::report(); the Doctrine entity ≈ an Eloquent model; bundle YAML/XML config ≈ config/error-bundle.php.Integration feasibility
symfony/* constraints and PHP 8.x.Technical risk
Key questions
Stack fit
errors table keyed by fingerprint (hash of class + normalized message + top frame), with first_seen, last_seen, count, level, redacted context, and a truncated trace; a queued reporting job to decouple the request path; a scheduled errors:monitor console command for threshold alerting.Migration path
Compatibility
Sequencing
Maintenance
Support
Scaling
(fingerprint, last_seen); monitor table size and write latency as first-class SLIs.Failure modes
Ramp-up
TPM recommendation: Do not add exs/error-bundle as a dependency in a Laravel/PHP stack. Use it as a reference for a small in-house handler or, preferably, adopt managed error tracking. If a legacy Symfony 2.x service genuinely requires it, quarantine that service and budget for replacement rather than extending its life.
How can I help you explore Laravel packages today?