Download the PHP package flyingluscas/bug-notifier without Composer
On this page you can find all versions of the php package flyingluscas/bug-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download flyingluscas/bug-notifier
More information about flyingluscas/bug-notifier
Files in flyingluscas/bug-notifier
Package bug-notifier
Short Description Get notified every time an exception is thrown in your application.
License MIT
Homepage https://github.com/flyingluscas/Laravel-BugNotifier
Informations about the package bug-notifier
BugNotifier
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
Via Composer
Usage
1. Service Provider
Add the BugNotifierServiceProvider
under the providers
section on config/app.php
file.
2. Configuration
Run this command in your terminal to publish the configuration file.
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.
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.
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Lucas Pires
- All Contributors
License
The MIT License (MIT). Please see License File for more information.