{"id":13531307,"url":"https://github.com/laravel-admin-extensions/reporter","last_synced_at":"2025-05-08T04:37:04.888Z","repository":{"id":22999021,"uuid":"97900053","full_name":"laravel-admin-extensions/reporter","owner":"laravel-admin-extensions","description":"This tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.","archived":false,"fork":false,"pushed_at":"2022-01-25T08:58:02.000Z","size":28,"stargazers_count":58,"open_issues_count":9,"forks_count":25,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-12T17:45:28.371Z","etag":null,"topics":["exception","laravel","laravel-admin","report"],"latest_commit_sha":null,"homepage":"http://laravel-admin.org/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laravel-admin-extensions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-21T03:02:12.000Z","updated_at":"2024-08-29T12:01:38.000Z","dependencies_parsed_at":"2022-08-07T10:16:32.344Z","dependency_job_id":null,"html_url":"https://github.com/laravel-admin-extensions/reporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Freporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Freporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Freporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-admin-extensions%2Freporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laravel-admin-extensions","download_url":"https://codeload.github.com/laravel-admin-extensions/reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231474812,"owners_count":18382160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exception","laravel","laravel-admin","report"],"created_at":"2024-08-01T07:01:01.899Z","updated_at":"2024-12-27T11:14:14.122Z","avatar_url":"https://github.com/laravel-admin-extensions.png","language":"PHP","funding_links":[],"categories":["扩展包"],"sub_categories":["工具类扩展包"],"readme":"Exception reporter for laravel-admin\n======================\n\nThis tool stores the exception information into the database and provides a developer-friendly web interface to view the exception information.\n\n[![StyleCI](https://styleci.io/repos/97900053/shield?branch=master)](https://styleci.io/repos/97900053)\n[![Packagist](https://img.shields.io/packagist/l/laravel-admin-ext/reporter.svg?maxAge=2592000)](https://packagist.org/packages/laravel-admin-ext/reporter)\n[![Total Downloads](https://img.shields.io/packagist/dt/laravel-admin-ext/reporter.svg?style=flat-square)](https://packagist.org/packages/laravel-admin-ext/reporter)\n[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square)]()\n\n## Screenshot\n\n![laravel-admin_exceptions](https://user-images.githubusercontent.com/1479100/30947042-0f667d9a-a43a-11e7-99c3-cf0fe236fedd.png)\n\n## Installation \n\n```\n$ composer require laravel-admin-ext/reporter -vvv\n\n$ php artisan vendor:publish --tag=laravel-admin-reporter\n\n$ php artisan migrate --path=vendor/laravel-admin-ext/reporter/database/migrations\n\n$ php artisan admin:import reporter\n```\n\nOpen `app/Exceptions/Handler.php`, call `Reporter::report()` inside `report` method:\n```php\n\u003c?php\n\nnamespace App\\Exceptions;\n\nuse Encore\\Admin\\Reporter\\Reporter;\nuse Exception;\nuse Illuminate\\Auth\\AuthenticationException;\nuse Illuminate\\Validation\\ValidationException;\nuse Illuminate\\Foundation\\Exceptions\\Handler as ExceptionHandler;\n\nclass Handler extends ExceptionHandler\n{\n    ...\n\n    public function report(Exception $exception)\n    {\n        if ($this-\u003eshouldReport($exception)) {\n            Reporter::report($exception);\n        }\n\n//        parent::report($exception);\n    }\n    \n    ...\n\n}\n```\n\nOpen `http://localhost/admin/exceptions` to view exceptions.\n\nLicense\n------------\nLicensed under [The MIT License (MIT)](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-admin-extensions%2Freporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravel-admin-extensions%2Freporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-admin-extensions%2Freporter/lists"}