2017 © Pedro Peláez
 

library bug-notifier

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

image

vzool/bug-notifier

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

  • Monday, February 19, 2018
  • by vzool
  • Repository
  • 1 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 7 Versions
  • 10 % Grown

The README.md

BugNotifier

Latest Version on Packagist ![Software License][ico-license] Build Status ![StyleCI][ico-styleci] ![SensioLabs Insight][ico-sensiolabs] Quality Score ![Total Downloads][ico-downloads], (*1)

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

BugNotifier will catch the exceptions thrown by Laravel and notify you through e-mail., (*3)

Install

Via Composer, (*4)

``` bash $ composer require vzool/bug-notifier, (*5)


## Usage ### 1. Service Provider Add the `BugNotifierServiceProvider` under the `providers` section on `config/app.php` file. ``` php 'providers' => [ // ... Vzool\BugNotifier\BugNotifierServiceProvider::class, ],

2. Configuration

Run this command in your terminal to publish the configuration file., (*6)

``` bash $ php artisan vendor:publish --provider="Vzool\BugNotifier\BugNotifierServiceProvider", (*7)


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 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. ``` php 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., (*8)

Change log

Please see CHANGELOG for more information what has changed recently., (*9)

Testing

bash $ composer test, (*10)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*11)

Security

If you discover any security related issues, please email lucas.pires.mattos@gmail.com instead of using the issue tracker., (*12)

Credits

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

19/02 2018

dev-master

9999999-dev https://github.com/vzool/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier vzool

19/02 2018

v0.1.2

0.1.2.0 https://github.com/vzool/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier vzool

19/02 2018

v0.1.1

0.1.1.0 https://github.com/vzool/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier vzool

18/10 2017

0.1.1

0.1.1.0 https://github.com/vzool/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier vzool

18/10 2017

dev-patch-support-laravel-5.3+

dev-patch-support-laravel-5.3+ https://github.com/flyingluscas/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier

16/01 2017

dev-Queueable_by_default

dev-Queueable_by_default https://github.com/flyingluscas/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier

29/10 2016

v0.1.0

0.1.0.0 https://github.com/flyingluscas/Laravel-BugNotifier

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel github bitbucket e-mail issues bug flyingluscas bugnotifier