PHPackages                             nodes/bugsnag - 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. nodes/bugsnag

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

nodes/bugsnag
=============

Report errors to Bugsnag from your Laravel project

2.1.5(6y ago)210.4k21MITPHP

Since Jan 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nodes-php/nodes-php-bugsnag)[ Packagist](https://packagist.org/packages/nodes/bugsnag)[ Docs](http://nodesagency.com)[ RSS](/packages/nodes-bugsnag/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (27)Used By (1)

Bugsnag
-------

[](#bugsnag)

A Laravel wrapper for [Bugsnag](http://bugsnag.com) [Laravel](http://laravel.com/docs).

[![Total downloads](https://camo.githubusercontent.com/cdf6e780b1112ed2f13507c67cf5016894cd2aa7dee7658eb0e299acb469867b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f6465732f627567736e61672e737667)](https://packagist.org/packages/nodes/bugsnag)[![Monthly downloads](https://camo.githubusercontent.com/d1abfbc2313aa2a6c134584ebee183c95e001977c5d88db269b54dd5f3bee4be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e6f6465732f627567736e61672e737667)](https://packagist.org/packages/nodes/bugsnag)[![Latest release](https://camo.githubusercontent.com/e11b8a5caabefeb367a3719cfbc0a56ae5d9fa4ab95ec9800a72a10348562ac7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f6465732f627567736e61672e737667)](https://packagist.org/packages/nodes/bugsnag)[![Open issues](https://camo.githubusercontent.com/b0292048a0d048d694fd01b2023f7f64b08e54244c8f47a936170441e2fffcb0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e6f6465732d7068702f627567736e61672e737667)](https://github.com/nodes-php/bugsnag/issues)[![License](https://camo.githubusercontent.com/03713f52be5c965580ec121b3d7e330869104f8a6cef99d9e30c71d04974f47f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f6465732f627567736e61672e737667)](https://packagist.org/packages/nodes/bugsnag)[![Star repository on GitHub](https://camo.githubusercontent.com/52357ad281a88f109f91321da61dd70d7f0891ee69764a3e72af687e15828b57/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f6465732d7068702f627567736e61672e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nodes-php/bugsnag/stargazers)[![Watch repository on GitHub](https://camo.githubusercontent.com/d9cb441eb5277f84844b9567d1cbdeae19ca9bec34a404fa361dd24ad97a4417/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6e6f6465732d7068702f627567736e61672e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/nodes-php/bugsnag/watchers)[![Fork repository on GitHub](https://camo.githubusercontent.com/868a778097f967112e2fac88c0812b12963e35b6def1103aca3e678d4348a2e6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6e6f6465732d7068702f627567736e61672e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/nodes-php/bugsnag/network)[![StyleCI](https://camo.githubusercontent.com/caeb47cf09224b8a7c83dd3cc14e608810102b5028028ef430569a35fe00cda9/68747470733a2f2f7374796c6563692e696f2f7265706f732f34383336343235322f736869656c64)](https://styleci.io/repos/48364252)

Introduction
------------

[](#introduction)

We love [Bugsnag](http://bugsnag.com). It's pretty much our most used tool in [Nodes](http://nodesagency.com).

Therefore we decided to make a Laravel wrapper for the service and even managed to squeeze in an additional feature or two.

📦 Installation
--------------

[](#-installation)

To install this package you will need:

- Laravel 5.1+
- PHP 5.5.9+

You must then modify your `composer.json` file and run `composer update` to include the latest version of the package in your project.

```
"require": {
    "nodes/bugsnag": "^2.0"
}
```

Or you can run the composer require command from your terminal.

```
composer require nodes/bugsnag:^2.0
```

🔧 Setup
-------

[](#-setup)

Setup service provider in config/app.php

```
Nodes\ServiceProvider::class,
Nodes\Bugsnag\ServiceProvider::class,
```

Publish config files

```
php artisan vendor:publish --provider="Nodes\Bugsnag\ServiceProvider"
```

If you want to overwrite any existing config files use the `--force` parameter

```
php artisan vendor:publish --provider="Nodes\Bugsnag\ServiceProvider" --force
```

⚙ Usage
-------

[](#-usage)

After you have added the service provider to the `config/app.php` array, then it pretty much works automatically.

Only thing you need make sure, is that you've entered the correct `API_KEY` in the `config/nodes/bugsnag.php` config file.

### Manually reporting exceptions

[](#manually-reporting-exceptions)

It happens once in a while, that you might need to `try {} catch {}` stuff and when you're catching exception you wish to surpress it for the user, but you would actually also like to be notified about it in Bugsnag. Then you can use the global helper method `bugsnag_report` to that.

```
function bugsnag_report(\Exception $exception, $meta = [], $severity = null)
```

🏆 Credits
---------

[](#-credits)

This package is developed and maintained by the PHP team at [Nodes Agency](http://nodesagency.com)

[![Follow Nodes PHP on Twitter](https://camo.githubusercontent.com/a898a5b14227bafa0c17c43be4f67460fe2b1dc3b88627d7b959e7fae4256a45/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6e6f6465737068702e7376673f7374796c653d736f6369616c)](https://twitter.com/nodesphp) [![Tweet Nodes PHP](https://camo.githubusercontent.com/8c1a307180498b3bb360cf73e63da1bfa3afc0306f601be021acd1e85d2bb4e4/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f687474702f6e6f6465737068702e7376673f7374796c653d736f6369616c)](https://twitter.com/nodesphp)

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 58% 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 ~71 days

Recently: every ~208 days

Total

22

Last Release

2282d ago

Major Versions

0.1.5 → 1.0.02016-06-07

1.0.3 → 2.0.02016-10-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/3aaee2c2b7632254faa8a589817712bdab2c7d46778fb26994eef75b20ec9c08?d=identicon)[nodes](/maintainers/nodes)

---

Top Contributors

[![Casperhr](https://avatars.githubusercontent.com/u/1279756?v=4)](https://github.com/Casperhr "Casperhr (29 commits)")[![rasmusebbesen](https://avatars.githubusercontent.com/u/944158?v=4)](https://github.com/rasmusebbesen "rasmusebbesen (13 commits)")[![rugaard](https://avatars.githubusercontent.com/u/179868?v=4)](https://github.com/rugaard "rugaard (3 commits)")[![Saad-Amjad](https://avatars.githubusercontent.com/u/22954041?v=4)](https://github.com/Saad-Amjad "Saad-Amjad (2 commits)")[![joscdk](https://avatars.githubusercontent.com/u/2535140?v=4)](https://github.com/joscdk "joscdk (1 commits)")[![carmenioanamihaila](https://avatars.githubusercontent.com/u/20821982?v=4)](https://github.com/carmenioanamihaila "carmenioanamihaila (1 commits)")[![Zeneo](https://avatars.githubusercontent.com/u/5598307?v=4)](https://github.com/Zeneo "Zeneo (1 commits)")

---

Tags

laravelerror-reportingexceptionsbugsnagreportingerror handlingnodes

### Embed Badge

![Health badge](/badges/nodes-bugsnag/health.svg)

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

###  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)[bugsnag/bugsnag-symfony

Official BugSnag notifier for Symfony applications.

453.0M3](/packages/bugsnag-bugsnag-symfony)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[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)
