{"id":16417048,"url":"https://github.com/open-admin-org/reporter","last_synced_at":"2025-10-26T19:32:11.656Z","repository":{"id":57703186,"uuid":"508366116","full_name":"open-admin-org/reporter","owner":"open-admin-org","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-06-28T17:27:12.000Z","size":25,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T23:16:03.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/open-admin-org.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":"2022-06-28T16:00:14.000Z","updated_at":"2024-08-20T16:14:04.000Z","dependencies_parsed_at":"2022-09-26T21:11:31.599Z","dependency_job_id":null,"html_url":"https://github.com/open-admin-org/reporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-admin-org%2Freporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-admin-org%2Freporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-admin-org%2Freporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-admin-org%2Freporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-admin-org","download_url":"https://codeload.github.com/open-admin-org/reporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238394323,"owners_count":19464583,"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":[],"created_at":"2024-10-11T07:10:51.452Z","updated_at":"2025-10-26T19:32:11.218Z","avatar_url":"https://github.com/open-admin-org.png","language":"PHP","readme":"Exception reporter for Open-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/508366116/shield?branch=main)](https://styleci.io/repos/508366116)\n[![Packagist](https://img.shields.io/github/license/open-admin-org/reporter.svg?maxAge=2592000\u0026style=flat-square\u0026color=brightgreen)](https://packagist.org/packages/open-admin-ext/reporter)\n[![Total Downloads](https://img.shields.io/packagist/dt/open-admin-ext/reporter.svg?style=flat-square\u0026color=brightgreen)](https://packagist.org/packages/open-admin-ext/reporter)\n[![Pull request welcome](https://img.shields.io/badge/pr-welcome-green.svg?style=flat-square\u0026color=brightgreen)]()\n\n## Screenshot\n\n![open-admin-reporter](https://user-images.githubusercontent.com/86517067/176226958-b3ed0a1c-7b87-4e43-a2fd-f487f110d9f5.png)\n\n\n## Installation\n\n```\n$ composer require open-admin-ext/reporter\n\n$ php artisan vendor:publish --tag=open-admin-reporter\n\n$ php artisan migrate --path=vendor/open-admin-ext/reporter/database/migrations\n\n$ php artisan admin:import reporter\n```\n\nOpen `app/Exceptions/Handler.php`,\n1) Add: `use OpenAdmin\\Admin\\Reporter\\Reporter;`\n2) Call `Reporter::report()` inside `register` ... `reportable` method:\n```php\n\u003c?php\n\nnamespace App\\Exceptions;\n\nuse Illuminate\\Foundation\\Exceptions\\Handler as ExceptionHandler;\nuse OpenAdmin\\Admin\\Reporter\\Reporter;\nuse Throwable;\n\n\nclass Handler extends ExceptionHandler\n{\n    /**\n     * A list of the exception types that are not reported.\n     *\n     * @var array\n     */\n    protected $dontReport = [\n        //\n    ];\n\n    /**\n     * A list of the inputs that are never flashed for validation exceptions.\n     *\n     * @var array\n     */\n    protected $dontFlash = [\n        'current_password',\n        'password',\n        'password_confirmation',\n    ];\n\n    /**\n     * Register the exception handling callbacks for the application.\n     *\n     * @return void\n     */\n    public function register()\n    {\n        $this-\u003ereportable(function (Throwable $e) {\n            // Add This line\n            Reporter::report($e);\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-admin-org%2Freporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-admin-org%2Freporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-admin-org%2Freporter/lists"}