Capture and monitor detailed error logs with Laravel Bugphix
4 years ago
Bugphix is a good package to capture and monitor detailed error logs. It comes with a nice dashboard and cool UI.
Demo
Installation
$ composer require bugphix/bugphix-laravel
Publish config files
$ php artisan vendor:publish --tag=bugphix-config
Run artisan installer
$ php artisan bugphix:install
Application usage
edit: /app/Exceptions/Handler.php
public function report(Exception $exception)
{
if (app()->bound('bugphix') && $this->shouldReport($exception)) {
app('bugphix')->catchError($exception);
}
parent::report($exception);
}