PHPackages                             mrandmrssmith/monolog-bugsnag-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mrandmrssmith/monolog-bugsnag-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

mrandmrssmith/monolog-bugsnag-bundle
====================================

Bugsnag integration for Monolog and Symfony.

v3.0.0(2y ago)15.1k↓16.7%MITPHPPHP &gt;=8.1

Since Jun 2Pushed 2y ago8 watchersCompare

[ Source](https://github.com/mrandmrssmith/monolog-bugsnag-bundle)[ Packagist](https://packagist.org/packages/mrandmrssmith/monolog-bugsnag-bundle)[ Docs](https://github.com/mrandmrssmith/monolog-bugsnag-bundle)[ RSS](/packages/mrandmrssmith-monolog-bugsnag-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Monolog Bugsnag Bundle
======================

[](#monolog-bugsnag-bundle)

A Bugsnag Handler Bundle for Symfony Monolog

It is compatible and tested with;

- PHP 8.1, 8.2 &amp; Symfony 5.4 LTS
- PHP 8.1, 8.2 &amp; Symfony 6.2, 6.3

Installation
------------

[](#installation)

🏗️

1. If you haven't already, create a [Bugsnag](https://www.bugsnag.com) account.
2. Add this package to your project. ```
    composer require mrandmrssmith/monolog-bugsnag-bundle
    ```
3. Enable the bundle ```
    // config/bundles.php

    return [
       //...
       \MrAndMrsSmith\MonologBugsnagBundle\MonologBugsnagBundle::class => ['all' => true],
    ];
    ```

Usage
-----

[](#usage)

📔

### Configure bugsnag

[](#configure-bugsnag)

Find the `bugsnag.yaml` file in `config/packages` and fill the API key provided in the bugsnag project settings.

### Add a new monolog handler

[](#add-a-new-monolog-handler)

Find the `monolog.yaml` and add a new handler like:

```
monolog:
    handlers:
        # ... other handlers definitions
        bugsnag:
            type: service
            id: 'monolog.bugsnag_handler'
```

We cannot configure a minimum level for service's handler. The default min-level is `WARNING`. Plan is to be able to parametrize it at some point.

### Test it

[](#test-it)

```
/** @var LoggerInterface $logger **/
$logger->error('Error message');
```

Support
-------

[](#support)

🤗 Please consider contributing if you feel you can improve this package, otherwise submit an issue via the GitHub page and include as much information as possible, including steps to reproduce, platform versions and anything else to help pinpoint the root cause.

Contributing
------------

[](#contributing)

👍 If you do contribute, we thank you, but please review the [CONTRIBUTING](CONTRIBUTING.md) document to help us ensure the project is kept consistent and easy to maintain.

Versioning
----------

[](#versioning)

⌛ This project will follow [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).

Changes
-------

[](#changes)

🛠️ All project changes/releases are noted in the GitHub releases page and in the [CHANGELOG](CHANGELOG.md) file.

Following conventions laid out by [keep a changelog](https://keepachangelog.com/en/1.1.0/).

Credits
-------

[](#credits)

🙏 Thanks to the contributors of [MonoSnag](https://github.com/meadsteve/MonoSnag/) from which this library is highly inspired.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1081d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a989b8a3335341544d351bceefcaa8426dc3a7af9df556a978beae890a330803?d=identicon)[gui-ver](/maintainers/gui-ver)

---

Top Contributors

[![gui-ver](https://avatars.githubusercontent.com/u/11404912?v=4)](https://github.com/gui-ver "gui-ver (13 commits)")[![jackwilsonsmith](https://avatars.githubusercontent.com/u/113099660?v=4)](https://github.com/jackwilsonsmith "jackwilsonsmith (1 commits)")

---

Tags

symfonyloggingerrorsexceptionsbugsnagtrackingmonolog

### Embed Badge

![Health badge](/badges/mrandmrssmith-monolog-bugsnag-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mrandmrssmith-monolog-bugsnag-bundle/health.svg)](https://phpackages.com/packages/mrandmrssmith-monolog-bugsnag-bundle)
```

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90334.6M36](/packages/bugsnag-bugsnag-laravel)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[bugsnag/bugsnag

Official Bugsnag notifier for PHP applications.

56347.0M78](/packages/bugsnag-bugsnag)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

453.0M3](/packages/bugsnag-bugsnag-symfony)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[evolution7/bugsnag-bundle

Bugsnag error reporting integration for Symfony2

19126.5k1](/packages/evolution7-bugsnag-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
