PHPackages                             vzool/bug-notifier - 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. vzool/bug-notifier

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

vzool/bug-notifier
==================

Get notified every time an exception is thrown in your application.

v0.1.2(8y ago)041MITPHPPHP ~5.6|~7.0

Since Oct 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vzool/Laravel-BugNotifier)[ Packagist](https://packagist.org/packages/vzool/bug-notifier)[ Docs](https://github.com/vzool/Laravel-BugNotifier)[ RSS](/packages/vzool-bug-notifier/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

BugNotifier
===========

[](#bugnotifier)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f1549ec054c2ef15e69727d5c89347e1f2a02670bf1310991982bb0c80706038/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c79696e676c75736361732f6275672d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flyingluscas/bug-notifier)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7339fb7d430bac168028f6fabdfe44b3639356b393321e1f06d92ae4776795f9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666c79696e676c75736361732f4c61726176656c2d4275674e6f7469666965722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/flyingluscas/Laravel-BugNotifier)[![StyleCI](https://camo.githubusercontent.com/ee9d517028f66f35ba243eafebb3feeade684038c21d4a6a94c9954aff7d9411/68747470733a2f2f7374796c6563692e696f2f7265706f732f36383235363835392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/68256859)[![SensioLabs Insight](https://camo.githubusercontent.com/4f18ef47c231c7455f62159d4c0a3c993d7f5ed99e599575a29216f735b785ad/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f36323036353438642d386438312d343338622d396236342d3734633262623165343132632e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/6206548d-8d81-438b-9b64-74c2bb1e412c)[![Quality Score](https://camo.githubusercontent.com/d8cc81aed9cadbd38934eddf89336463ab28632892b43b55eb50972ddc72c9a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666c79696e676c75736361732f4c61726176656c2d4275674e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flyingluscas/Laravel-BugNotifier)[![Total Downloads](https://camo.githubusercontent.com/f0d7460b555e68dce018f70289bb8c17eed0964ce86afcd585878345bc3b20f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c79696e676c75736361732f6275672d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flyingluscas/bug-notifier)

This is a **Laravel 5.x** package to help you track down bugs on your applications by using notifications.

BugNotifier will catch the exceptions thrown by Laravel and notify you through e-mail.

Install
-------

[](#install)

Via Composer

```
$ composer require vzool/bug-notifier
```

Usage
-----

[](#usage)

### 1. Service Provider

[](#1-service-provider)

Add the `BugNotifierServiceProvider` under the `providers` section on `config/app.php` file.

```
'providers' => [
    // ...
    Vzool\BugNotifier\BugNotifierServiceProvider::class,
],
```

### 2. Configuration

[](#2-configuration)

Run this command in your terminal to publish the configuration file.

```
$ php artisan vendor:publish --provider="Vzool\BugNotifier\BugNotifierServiceProvider"
```

This command will generate the `config/bugnotifier.php` config file.

Inside the configuration file, you can add the **environments** that BugNotifier should watch for exceptions, configure a list of **exceptions that should be ignored** and choose the **driver used to send the notifications**.

### 3. Setting up

[](#3-setting-up)

Ok, now that our service provider is in place and our configuration file is set, let's set up the BugNotifier to watch for exceptions in our application.

Go to your `app/Exceptions/Handler.php` file, and scroll down to the `report` method, this method is very important, here you can intercept any exceptions thrown by Laravel, so use the `Notify` **facade** to set it up.

```
use Vzool\BugNotifier\Facades\Notify;

// ...

public function report(Exception $exception)
{
    parent::report($exception);

    Notify::exception($exception);
}
```

And that's it, you are ready to track down every exception thrown by your application and be notified about it, if you wanna build your own notification driver, [see this wiki for more information](https://github.com/flyingluscas/Laravel-BugNotifier/wiki/Custom-Drivers).

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lucas Pires](https://github.com/flyingluscas)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.6% 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 ~239 days

Total

3

Last Release

3006d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9e5287358c59c776ad8b32d5ff9669f23320d091ff47e466cbb72e46c608b6e?d=identicon)[vzool](/maintainers/vzool)

---

Top Contributors

[![flyingluscas](https://avatars.githubusercontent.com/u/6232791?v=4)](https://github.com/flyingluscas "flyingluscas (58 commits)")[![raank](https://avatars.githubusercontent.com/u/5004866?v=4)](https://github.com/raank "raank (7 commits)")[![vzool](https://avatars.githubusercontent.com/u/4952736?v=4)](https://github.com/vzool "vzool (7 commits)")

---

Tags

laravelbitbucketgithube-mailbugflyingluscasissuesBugNotifiervzool

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vzool-bug-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/vzool-bug-notifier/health.svg)](https://phpackages.com/packages/vzool-bug-notifier)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[naoray/laravel-github-monolog

Log driver to store logs as github issues

10619.4k](/packages/naoray-laravel-github-monolog)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[rigor789/airbrake-laravel

Laravel package for the Airbrake API, which supports Errbit

1636.5k](/packages/rigor789-airbrake-laravel)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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