php-panel / ladmin-ext-reporter
Exception reporter for laravel
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 27
pkg:composer/php-panel/ladmin-ext-reporter
Requires
- php: >=8.2
- ext-json: *
- laravel/framework: >=12.0
- php-panel/laravel-admin: >=3.0
Requires (Dev)
- laravel/laravel: >=12.0
- phpunit/phpunit: ~11.0
This package is auto-updated.
Last update: 2025-12-04 15:39:23 UTC
README
This tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.
Screenshot
Installation
$ composer require php-panel/ladmin-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 Ladmin\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).
