PHPackages                             rexlmanu/mono-snag - 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. rexlmanu/mono-snag

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

rexlmanu/mono-snag
==================

Bugsnag integration for monolog. An abstract handler that sends messages to Bugsnag

4.2.0(1y ago)0751MITPHPPHP ^7.2 || ^8.0

Since Mar 13Pushed 1y agoCompare

[ Source](https://github.com/rexlManu/MonoSnag)[ Packagist](https://packagist.org/packages/rexlmanu/mono-snag)[ RSS](/packages/rexlmanu-mono-snag/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (1)

MonoSnag
========

[](#monosnag)

[![Test PHP 7 & 8](https://github.com/meadsteve/MonoSnag/actions/workflows/php.yml/badge.svg)](https://github.com/meadsteve/MonoSnag/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/5ade87af08a36b220536b2e94b7bd125bf90a030ef2a5d0c0cc215a179e0232c/68747470733a2f2f706f7365722e707567782e6f72672f6d6561642d73746576652f6d6f6e6f2d736e61672f762f737461626c652e737667)](https://packagist.org/packages/mead-steve/mono-snag)[![License](https://camo.githubusercontent.com/cb295794cbb756eef736d0a784e0316e5e84b1ce8025ddd73447b5484802458e/68747470733a2f2f706f7365722e707567782e6f72672f6d6561642d73746576652f6d6f6e6f2d736e61672f6c6963656e73652e737667)](https://packagist.org/packages/mead-steve/mono-snag)[![Monthly Downloads](https://camo.githubusercontent.com/ef59ec172f0c9571e384479a3f6bf9155ede00cfe13793044eb8e2370f3bb6f0/68747470733a2f2f706f7365722e707567782e6f72672f6d6561642d73746576652f6d6f6e6f2d736e61672f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/mead-steve/mono-snag)

[Monolog](https://seldaek.github.io/monolog/) Handler connection to [Bugsnag](http://bugsnag.com)

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

[](#installation)

Via Composer using

```
composer require mead-steve/mono-snag
```

Usage
-----

[](#usage)

A handler is provided that wraps up a Bugsnag client. By default, the handler will grab anything at Logger::ERROR and above and send it to Bugsnag.

```
$logger  = new Monolog\Logger("Example");

$bugsnagClient = new Bugsnag\Client('YOUR-BUGSNAG-API-KEY-HERE');
//... bugsnag specific config goes here.
$bugsnagHandler = new \MeadSteve\MonoSnag\BugsnagHandler($bugsnagClient);

$logger->pushHandler($bugsnagHandler);

// The following error will get sent automatically to Bugsnag
$logger->addError("oh no!", array('exception' => new \Exception("ohnoception")));
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance45

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.3% 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

Unknown

Total

1

Last Release

424d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32296940?v=4)[Emmanuel Lampe](/maintainers/rexlManu)[@rexlManu](https://github.com/rexlManu)

---

Top Contributors

[![meadsteve](https://avatars.githubusercontent.com/u/1663120?v=4)](https://github.com/meadsteve "meadsteve (26 commits)")[![rexlManu](https://avatars.githubusercontent.com/u/32296940?v=4)](https://github.com/rexlManu "rexlManu (4 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (2 commits)")[![ricardofiorani](https://avatars.githubusercontent.com/u/1641075?v=4)](https://github.com/ricardofiorani "ricardofiorani (1 commits)")[![sroze](https://avatars.githubusercontent.com/u/804625?v=4)](https://github.com/sroze "sroze (1 commits)")[![wjlroe](https://avatars.githubusercontent.com/u/43315?v=4)](https://github.com/wjlroe "wjlroe (1 commits)")[![mtibben](https://avatars.githubusercontent.com/u/980499?v=4)](https://github.com/mtibben "mtibben (1 commits)")[![pdbreen](https://avatars.githubusercontent.com/u/1670907?v=4)](https://github.com/pdbreen "pdbreen (1 commits)")

---

Tags

loggingerrorbugsnagmonolog

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rexlmanu-mono-snag/health.svg)

```
[![Health](https://phpackages.com/badges/rexlmanu-mono-snag/health.svg)](https://phpackages.com/packages/rexlmanu-mono-snag)
```

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[mead-steve/mono-snag

Bugsnag integration for monolog. An abstract handler that sends messages to Bugsnag

20533.2k1](/packages/mead-steve-mono-snag)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

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

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

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

PHPackages © 2026

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