rakshitbharat/bugphix-laravel

Capture and monitor detailed error logs with nice dashboard and UI.

v2.0 2020-06-19 12:56 UTC

This package is auto-updated.

Last update: 2024-03-08 14:30:42 UTC


README

Bugphix logo

Build Status MIT License GitHub last commit 68747470733a2f2f62616467656e2e6e65742f62616467652f747769747465722f406c61726176656c61727469636c652f3144413146323f69636f6e266c6162656c 68747470733a2f2f62616467656e2e6e65742f62616467652f66616365626f6f6b2f6c61726176656c61727469636c652f336235393938 68747470733a2f2f6d616465776974686c61726176656c2e636f6d2f73746f726167652f7265706f2d736869656c64732f323232392d736869656c642e737667

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