Weave Code
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 Exceptionlog Laravel Package

adrianoalves/laravel-exceptionlog

Minimal Laravel 7+ package to persist exceptions to a database logs table. Install via Composer, migrate, then call ExceptionLog::persist($exception, $level). Includes simple level mapper (app, DB, server, console, jobs) and is customizable.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhanced Error Tracking & Debugging: Justify investment in a lightweight, self-hosted alternative to third-party tools (e.g., Sentry, Bugsnag) for teams prioritizing data privacy or cost efficiency. Aligns with roadmap items for observability, incident response, or compliance-driven logging.
  • Build vs. Buy: Avoid vendor lock-in or subscription costs by adopting an open-source solution for basic exception logging, reducing technical debt for low-complexity use cases.
  • Developer Experience (DX): Reduce context-switching for engineers by centralizing error logs in Laravel’s native ecosystem (e.g., Eloquent models, Artisan commands). Supports initiatives to improve on-call reliability or postmortem analysis.
  • Compliance & Auditability: Meet internal security policies requiring on-premise error storage (e.g., GDPR, HIPAA) without relying on external SaaS. Useful for regulated industries or teams with strict data sovereignty requirements.
  • Legacy System Integration: Modernize error handling in older Laravel applications without major refactoring, leveraging the package’s simplicity to incrementally improve observability.

When to Consider This Package

  • Avoid if:
    • You need real-time alerts, distributed tracing, or advanced error grouping (e.g., Sentry’s breadcrumbs, performance metrics). This package lacks these features.
    • Your team requires scalable log aggregation (e.g., ELK stack, Datadog) or log retention policies beyond basic database storage.
    • You’re using Laravel 9+ (last release was 2020; compatibility untested). Prioritize actively maintained alternatives like spatie/laravel-monitor or laravel-debugbar.
    • Security/compliance needs exceed basic logging (e.g., PII redaction, log encryption). This package offers no built-in safeguards.
    • You lack database infrastructure (requires Eloquent models; not a file-based or queue-backed solution).
  • Consider if:
    • You need a minimalist, self-hosted exception logger with zero dependencies.
    • Your stack is Laravel 5.x–8.x and you’re comfortable maintaining a 3-year-old package.
    • Budget or policy prohibits third-party error-tracking tools.
    • Errors are critical but infrequent, and you lack resources for complex observability stacks.

How to Pitch It (Stakeholders)

For Executives: "This package lets us log and track application errors in-house—like a lightweight, open-source alternative to Sentry—without subscription costs or data leaving our infrastructure. It’s ideal for [specific use case, e.g., ‘compliance-heavy projects’ or ‘legacy system modernization’], where we need basic error persistence but can’t justify a full observability tool. Since it’s Laravel-native, our dev team can implement it quickly with minimal overhead. Tradeoff: No real-time alerts or advanced features, but it’s a low-risk way to improve debugging for [target audience, e.g., ‘our support team’ or ‘on-call engineers’]."

For Engineering: *"ExceptionLog gives us a simple way to store Laravel exceptions in a database table (no external APIs or complex setup). Key benefits:

  • Pros: Zero dependencies, easy to integrate (just publish migrations), and works with existing Laravel tools (e.g., Horizon for queue-based logging).
  • Cons: Outdated (last release 2020), no active maintenance, and lacks features like error grouping or user context. Best for quick wins in older Laravel apps where we can’t use modern alternatives. Recommendation: Use this for [specific scope, e.g., ‘a single microservice’] and plan to migrate to a maintained package (e.g., Spatie’s Monitor) in 6–12 months."*
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle