New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

laravel-admin-ext/reporter

Exception reporter for laravel
82,761 59
Install
composer require laravel-admin-ext/reporter
Latest Version:v1.0.2
PHP:>=7.0.0
Laravel:5 – 8
License:MIT
Last Updated:Jan 25, 2022
Links: GitHub  ·  Packagist
Maintainer: encore

Exception reporter for laravel-admin

This tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.

StyleCI Packagist Total Downloads Pull request welcome

Screenshot

laravel-admin_exceptions

Installation

$ composer require laravel-admin-ext/reporter -vvv

$ php artisan vendor:publish --tag=laravel-admin-reporter

$ php artisan migrate --path=vendor/laravel-admin-ext/reporter/database/migrations

$ php artisan admin:import reporter

Open app/Exceptions/Handler.php, call Reporter::report() inside report method:

<?php

namespace App\Exceptions;

use Encore\Admin\Reporter\Reporter;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Validation\ValidationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;

class Handler extends ExceptionHandler
{
    ...

    public function report(Exception $exception)
    {
        if ($this->shouldReport($exception)) {
            Reporter::report($exception);
        }

//        parent::report($exception);
    }
    
    ...

}

Open http://localhost/admin/exceptions to view exceptions.

License

Licensed under The MIT License (MIT).

Related Packages

open-developer-ext/reporter

Exception reporter for laravel

2,137 0
laravel-admin-ext/helpers

Helpers extension for laravel-admin

298,989 135
laravel-admin-ext/config

Config extension for laravel-admin

188,295 97
laravel-admin-ext/backup

Backup extension for laravel-admin

75,214 73
craftisan/laravel-seo

SEO for Laravel - Generate pages from templates created using data variables to...

10,498 0

Version History

Version Released PHP Laravel License
v1.0.2 >=7.0.0 >=5.5 MIT
v1.0.1 >=7.0.0 ~5.5 MIT
v1.0.0 >=7.0.0 5.5.* MIT