Skip to content

bugphix/bugphix-laravel

Repository files navigation

Bugphix logo

Build Status MIT License GitHub last commit

Capture and monitor detailed error logs with nice dashboard and UI



Dashboard gif

Requirements

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);
}

Test Command

$ php artisan bugphix:test

View admin dashboard

http://localhost:8080/bugphix/issues

For full documentation: https://bugphix-docs.netlify.com

License

MIT

Copyright (c) 2020, Jeric