https://github.com/open-admin-org/reporter
This tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.
https://github.com/open-admin-org/reporter
Last synced: 5 months ago
JSON representation
This tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.
- Host: GitHub
- URL: https://github.com/open-admin-org/reporter
- Owner: open-admin-org
- License: mit
- Created: 2022-06-28T16:00:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T17:27:12.000Z (about 3 years ago)
- Last Synced: 2025-01-31T23:16:03.478Z (5 months ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Exception reporter for Open-Admin
=================================This tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.
[](https://styleci.io/repos/508366116)
[](https://packagist.org/packages/open-admin-ext/reporter)
[](https://packagist.org/packages/open-admin-ext/reporter)
[]()## Screenshot

## Installation
```
$ composer require open-admin-ext/reporter$ php artisan vendor:publish --tag=open-admin-reporter
$ php artisan migrate --path=vendor/open-admin-ext/reporter/database/migrations
$ php artisan admin:import reporter
```Open `app/Exceptions/Handler.php`,
1) Add: `use OpenAdmin\Admin\Reporter\Reporter;`
2) Call `Reporter::report()` inside `register` ... `reportable` method:
```php
reportable(function (Throwable $e) {
// Add This line
Reporter::report($e);
});
}
}```
Open `http://localhost/admin/exceptions` to view exceptions.
License
------------
Licensed under [The MIT License (MIT)](LICENSE).