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

Bugsnag Psr Logger Laravel Package

bugsnag/bugsnag-psr-logger

PSR-3 logger implementation for Bugsnag. Provides BugsnagLogger to send notifications for messages above a configurable level, plus MultiLogger to fan out logs to Bugsnag and other PSR-3 loggers. Built on bugsnag-php.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modern PSR-3/PSR-15 Compliance: Now supports PSR Log v3, ensuring future-proof integration with Laravel 10+ and PHP frameworks adopting the latest logging standards. This reduces friction for teams migrating to newer PHP versions or frameworks.
  • Stronger Observability Stack: Aligns with BugSnag’s advanced error tracking while adhering to modern logging interfaces, enabling richer error context (e.g., structured metadata, exception chains) without custom work.
  • Reduced Technical Debt: Eliminates legacy PSR-1 support, forcing teams to adopt current standards—reducing long-term maintenance overhead for logging infrastructure.
  • Build vs. Buy: Reinforces the case for off-the-shelf observability by providing a maintained, standards-compliant solution, avoiding reinventing logging pipelines.
  • Use Cases (Expanded):
    • Laravel 10+ or Symfony 6+ apps requiring PSR-3/PSR-15 compliance.
    • Microservices architectures needing consistent, standardized logging across services.
    • Compliance-heavy industries (e.g., fintech, healthcare) where structured error tracking is critical.
    • Teams adopting BugSnag’s newer features (e.g., Breadcrumb, Release Tracking) via PSR-3 integration.

When to Consider This Package

  • Adopt if:
    • Your team uses BugSnag for error monitoring and needs PSR-3/PSR-15 compliance (e.g., Laravel 10+, Symfony 6+, or PHP 8.1+).
    • You’re migrating from PSR-1 or want to future-proof your logging stack.
    • You prioritize automated, structured error reporting with minimal custom code.
    • Your stack includes Monolog, Laravel’s built-in logger, or other PSR-3-compliant loggers.
    • You need rich error context (e.g., stack traces, custom metadata) without manual instrumentation.
  • Look elsewhere if:
    • You require PSR-1 support (use v1.0 of this package or a different tool).
    • Your team cannot upgrade to PSR-3/PSR-15 (e.g., legacy PHP 7.4 or non-compliant frameworks).
    • You need real-time log streaming (e.g., for live debugging) and rely on raw log output (e.g., ELK/Splunk).
    • You’re all-in on open-source and cannot use BugSnag’s proprietary features (e.g., error grouping, dashboards).
    • Your app extends Bugsnag’s internal classes (breaking changes in v2.0.0 may require refactoring).

How to Pitch It (Stakeholders)

For Executives: "This updated package (v2.0.0) ensures our PHP/Laravel apps use modern logging standards (PSR-3/PSR-15), cutting debugging time by surfacing errors directly to BugSnag with richer context. It’s a zero-maintenance upgrade that aligns with our SRE goals and avoids custom logging work. The shift to PSR-3 also future-proofs our stack for Laravel 10+ and PHP 8.1+."

For Engineering: "BugSnag’s PSR-3 logger (v2.0.0) is now fully aligned with modern PHP frameworks—no more PSR-1 hacks. It’s a drop-in replacement for Monolog/Laravel logging, adds type safety, and unlocks BugSnag’s latest features (e.g., better breadcrumbs, release tracking). If you’re on Laravel 10+ or Symfony 6+, this is the recommended way to integrate BugSnag. Note: If you’re extending BugsnagLogger or MultiLogger, you’ll need to refactor due to breaking changes (e.g., removed AbstractLogger wrapper)."

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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor