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

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

mead-steve/mono-snag
====================

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

v4.1.0(5y ago)20533.2k—10%13[1 issues](https://github.com/meadsteve/MonoSnag/issues)1MITPHPPHP ^7.2 || ^8.0

Since Mar 4Pushed 5y ago2 watchersCompare

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

READMEChangelog (7)Dependencies (4)Versions (11)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

44

—

FairBetter than 92% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 78.8% 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 ~321 days

Recently: every ~489 days

Total

9

Last Release

1887d ago

Major Versions

v1.0.3 → V2.0.02015-11-09

v1.0.4 → v3.0.02016-10-09

v3.0.0 → v4.0.02019-10-05

PHP version history (3 changes)v3.0.0PHP ^5.6 | ^7.0

v4.0.0PHP ^7.2

v4.1.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f6a1fc7be44918da7cc299d340d1e27b338e2396c2f2ca389857b4e2e197c4b?d=identicon)[MeadSteve](/maintainers/MeadSteve)

---

Top Contributors

[![meadsteve](https://avatars.githubusercontent.com/u/1663120?v=4)](https://github.com/meadsteve "meadsteve (26 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (2 commits)")[![pdbreen](https://avatars.githubusercontent.com/u/1670907?v=4)](https://github.com/pdbreen "pdbreen (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)")[![ricardofiorani](https://avatars.githubusercontent.com/u/1641075?v=4)](https://github.com/ricardofiorani "ricardofiorani (1 commits)")[![mtibben](https://avatars.githubusercontent.com/u/980499?v=4)](https://github.com/mtibben "mtibben (1 commits)")

---

Tags

loggingerrorbugsnagmonolog

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[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)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)

PHPackages © 2026

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