Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Extended Errors Laravel Package

swayok/laravel-extended-errors

Laravel Extended Errors enhances Laravel's exception and error handling with richer context, cleaner responses, and flexible customization for APIs and web apps, helping surface useful debugging details while keeping production errors structured and user-friendly.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Developer experience (DX) investment: Justifies a small, low-cost bet on making local/staging failures self-explanatory. Richer exception output reduces the "reproduce it locally, then ask the author of the failing line" loop that slows feature teams.
  • Incident response / MTTR roadmap: HTML-formatted error emails and file logs give on-call engineers a readable, self-contained artifact (request context, stack, environment) without opening an APM tool — a candidate input to "how fast can a responder form a hypothesis?"
  • Build vs. buy for observability: A concrete data point in the "do we need a paid APM/error-tracking vendor?" decision. For low-traffic internal apps, this plus Laravel's native logging may be sufficient; for revenue-critical services it is a stopgap, not a replacement.
  • Alerting channel design: Supports a decision to make email alert digests human-readable rather than raw text dumps — directly relevant to whether on-call alerting is actionable or gets filtered into a folder nobody reads.
  • Environment-tiering policy: Reinforces the rule that verbose error surfaces belong in local/staging and must be hard-gated out of production. Useful when defining what "debug mode" means per environment.
  • Adoption/risk governance: With 1 star, 0 dependents, and a single maintainer, this is a reference implementation to study or vendor, not a dependency to adopt — a useful test case for your third-party package intake checklist.

When to Consider This Package

Consider it when:

  • You run a Laravel monolith with a small team and no APM/error-tracking budget, and engineers currently debug from truncated stack traces.
  • Your staging or internal-tool environment needs richer failure context, and the blast radius of a verbose error page is contained.
  • You want HTML error digests in email/log files for human triage (low-volume alerting, scheduled jobs, back-office tooling).
  • You're willing to read and pin the source (MIT, small surface area) or fork it internally rather than rely on upstream maintenance.

Look elsewhere when:

  • The workload is production, customer-facing, or regulated — HTML error pages and emailed stack traces are a classic PII/secret leakage vector (credentials in env dumps, request bodies, tokens in headers). Use a vetted error tracker with scrubbing instead.
  • You already pay for Sentry/Bugsnag/Rollbar/Datadog — this duplicates capability with worse retention, search, and deduplication.
  • You need vendor support, an SLA, security advisories, or a maintained release cadence. One star and zero dependents is a strong abandonment signal; treat upstream as frozen.
  • Your stack is API-only/JSON and fronted by a SPA — HTML error rendering adds little.
  • Compliance or procurement requires dependency provenance and a named owner.

How to Pitch It (Stakeholders)

To executives (30 seconds): A small, free, MIT-licensed utility that makes application errors readable — both on-screen during development/staging and in the alert emails engineers receive. The business case is faster diagnosis, therefore lower mean time to recovery and less senior-engineer time burned reproducing bugs. It is a productivity aid, not a monitoring platform; it does not replace paid error tracking, and it should not be switched on for production customer traffic. Recommended posture: evaluate and, if useful, adopt as internal tooling with a pinned version and a named owner — cost is near zero, so the decision is about engineering time, not budget.

To engineering: Drop-in Laravel package, MIT, minimal footprint. Two capabilities: expanded debug exception output, and Monolog handlers that emit the same HTML rendering into emails and file logs. Value is highest in local/staging and scheduled-job alerting. Caveats we must manage: gate it strictly by environment, audit what gets rendered into emails (secrets, headers, request bodies) before any non-local use, pin the version, and assume upstream is unmaintained — if it earns its place, plan to vendor or fork it behind our own logging abstraction so we can swap it out without touching call sites. Ask: does this measurably cut time-to-hypothesis for a failing deploy, or does our existing tracker already cover it? If the latter, skip it.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log