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 Error Logger Laravel Package

justbetter/laravel-error-logger

Manually log application errors to a database with a fluent API (message, details, group, throwable, model). Optionally schedule a daily notification job to send summaries via a chosen channel (e.g. Slack). Includes pruning command; Nova UI available separately.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Error Monitoring & Alerting: Enables proactive issue detection and resolution by centralizing error logs and automating notifications (e.g., Slack) for critical failures.
  • Developer Experience (DX): Reduces manual debugging time by providing a structured, searchable log of exceptions (compatible with Laravel Nova for UI-based review).
  • Operational Efficiency: Supports scheduled cleanup of logs via CLI commands, reducing database bloat and improving performance.
  • Build vs. Buy: Justifies a "buy" decision for teams needing lightweight, customizable error logging without reinventing wheel (vs. building from scratch or using heavyweight SaaS tools like Sentry).
  • Roadmap Priorities:
    • Phase 1: Integrate error logging for critical paths (e.g., payment failures, API timeouts).
    • Phase 2: Extend to non-critical paths with tiered alerting (e.g., Slack for P1, email for P3).
    • Phase 3: Integrate with Nova for self-service debugging by devs/QA.
  • Compliance/Observability: Aligns with SOC2/ISO requirements by maintaining audit trails of application errors.

When to Consider This Package

  • Adopt if:
    • Your Laravel app lacks a dedicated error-tracking system and needs low-code, manual-logging support.
    • You prioritize cost efficiency (MIT license, no SaaS fees) and simplicity (no complex setup).
    • Your team uses Laravel Nova and wants to avoid context-switching to external tools.
    • You need basic alerting (e.g., Slack) but don’t require advanced features like stack trace analysis or user impact tracking.
  • Look elsewhere if:
    • You need automatic exception capture (this package requires manual log() calls).
    • Your app has high-volume errors (>10K/day) and needs real-time aggregation (consider Sentry, Rollbar).
    • You require user-error correlation (e.g., tying errors to specific user sessions).
    • Your team lacks PHP/Laravel expertise to configure jobs, migrations, or Nova integration.
    • You need multi-channel notifications (e.g., PagerDuty, email templates) beyond Slack.

How to Pitch It (Stakeholders)

For Executives:

*"This package lets us turn Laravel errors into actionable insights with minimal effort. For ~$0, we get:

  • Automated daily Slack alerts for critical failures (e.g., payment processing errors), reducing mean time to resolution (MTTR).
  • Centralized error logs in our database, searchable via Laravel Nova—no need for third-party tools.
  • Scalable cleanup to keep our DB lean, improving performance. Tradeoff: We’ll need to manually log exceptions (not automatic), but this is a small price for avoiding SaaS costs and vendor lock-in. Recommended for MVP observability."*

For Engineering:

*"The justbetter/laravel-error-logger gives us:

  • Lightweight error tracking with manual log() integration (flexible for our current codebase).
  • Nova compatibility for devs to self-service debug errors via a familiar UI.
  • Scheduled alerts (Slack) to surface P1 issues without polling logs. Setup: Publish config, run migrations, add a daily cron job. No heavy dependencies—just Laravel + PHP. Alternatives: Sentry/Rollbar are overkill for our scale; this fills the gap at 10% the cost."*
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