Download the PHP package rabbit-digital/bugtify-laravel without Composer
On this page you can find all versions of the php package rabbit-digital/bugtify-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rabbit-digital/bugtify-laravel
More information about rabbit-digital/bugtify-laravel
Files in rabbit-digital/bugtify-laravel
Package bugtify-laravel
Short Description Error monitoring, reporting and bug notifier for Laravel
License Apache-2.0
Homepage https://rabbit-digital.bssholding.com
Informations about the package bugtify-laravel
Bug Notification for Laravel
What is Bugtify?
This package allows you to send error log to Discord via webhook. Allow you to track any error from your Laravel Application
Installation on Laravel
The Bugtify can be installed with Composer. Run this command:
Register our service provider in providers array in config/app.php
before your AppServiceProvider::class
You just need to publish the config file of the package.
Configure your Discord Webhook URL in your .env file:
If you need to avoid to send notification with the same error can configure with option below
Installation on Lumen
The Bugtify can be installed with Composer. Run this command:
Copy the config file (bugtify.php) to lumen config directory.
And adjust config file (config/bugtify.php) with your desired settings.
In bootstrap/app.php you will need to:
Uncomment this line if you still not did it.
Register Bugtify service provider
Reporting unhandled exceptions
To ensure all unhandled exceptions are sent to Discord, set up a bugtify logging channel and add it to your logging stack in config/logging.php:
Laravel and Lumen version below 5.5
Laravel and Lumen version less than 5.5 not support Logger class. Need to manually add in App\Exception\Handler.php
Reporting handled exceptions
Reporting handled exceptions can be accomplished as follows:
License
The Bugtify for Laravel library is free software released under the MIT License. See LICENSE for details.