Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-admin-extensions/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/laravel-admin-extensions/reporter
exception laravel laravel-admin report
Last synced: 6 days 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/laravel-admin-extensions/reporter
- Owner: laravel-admin-extensions
- License: mit
- Created: 2017-07-21T03:02:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-25T08:58:02.000Z (almost 3 years ago)
- Last Synced: 2024-07-17T20:55:40.356Z (4 months ago)
- Topics: exception, laravel, laravel-admin, report
- Language: PHP
- Homepage: http://laravel-admin.org/
- Size: 27.3 KB
- Stars: 57
- Watchers: 3
- Forks: 25
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - reporter - 异常信息存储及查看工具 (扩展包 / 工具类扩展包)
README
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](https://styleci.io/repos/97900053/shield?branch=master)](https://styleci.io/repos/97900053)
[![Packagist](https://img.shields.io/packagist/l/laravel-admin-ext/reporter.svg?maxAge=2592000)](https://packagist.org/packages/laravel-admin-ext/reporter)
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-admin-ext/reporter.svg?style=flat-square)](https://packagist.org/packages/laravel-admin-ext/reporter)
[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square)]()## Screenshot
![laravel-admin_exceptions](https://user-images.githubusercontent.com/1479100/30947042-0f667d9a-a43a-11e7-99c3-cf0fe236fedd.png)
## 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
shouldReport($exception)) {
Reporter::report($exception);
}// parent::report($exception);
}
...}
```Open `http://localhost/admin/exceptions` to view exceptions.
License
------------
Licensed under [The MIT License (MIT)](LICENSE).