{"id":34924538,"url":"https://github.com/devdavido/laravel-reporto","last_synced_at":"2026-04-06T21:01:56.984Z","repository":{"id":56966378,"uuid":"147956388","full_name":"DevDavido/laravel-reporto","owner":"DevDavido","description":"Report browser errors to the server with the W3C Reporting API","archived":false,"fork":false,"pushed_at":"2026-01-01T11:51:47.000Z","size":57,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-06T10:16:54.679Z","etag":null,"topics":["backend","browser","browser-interventions","crash-report","csp","csp-violation","deprecations","feature-policy","frontend","laravel","network-error","report-api"],"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/DevDavido.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"buy_me_a_coffee":"devdavido"}},"created_at":"2018-09-08T17:45:47.000Z","updated_at":"2026-01-01T11:51:48.000Z","dependencies_parsed_at":"2024-01-02T23:55:40.451Z","dependency_job_id":"851dc72e-188e-4649-9c84-8ba8e0605709","html_url":"https://github.com/DevDavido/laravel-reporto","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"db6b1927135e8f223e4f2f991ab2ed393db88e8e"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/DevDavido/laravel-reporto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevDavido%2Flaravel-reporto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevDavido%2Flaravel-reporto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevDavido%2Flaravel-reporto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevDavido%2Flaravel-reporto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevDavido","download_url":"https://codeload.github.com/DevDavido/laravel-reporto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevDavido%2Flaravel-reporto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31489427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["backend","browser","browser-interventions","crash-report","csp","csp-violation","deprecations","feature-policy","frontend","laravel","network-error","report-api"],"created_at":"2025-12-26T14:18:43.532Z","updated_at":"2026-04-06T21:01:56.977Z","avatar_url":"https://github.com/DevDavido.png","language":"PHP","funding_links":["https://buymeacoffee.com/devdavido","https://www.buymeacoffee.com/devdavido"],"categories":[],"sub_categories":[],"readme":"# Reporto: Report browser errors to the server\n\n[![Latest Version](https://img.shields.io/github/v/release/DevDavido/laravel-reporto.svg?style=flat-square)](https://github.com/DevDavido/laravel-reporto/releases)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/DevDavido/laravel-reporto/tests.yml?style=flat-square)](https://github.com/DevDavido/laravel-reporto/actions/workflows/tests.yml)\n[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/DevDavido/laravel-reporto.svg?style=flat-square)](https://scrutinizer-ci.com/g/DevDavido/laravel-reporto/)\n[![Total Downloads](https://img.shields.io/packagist/dt/DevDavido/laravel-reporto.svg?style=flat-square)](https://packagist.org/packages/DevDavido/laravel-reporto)\n\nThis package makes use of the [W3C Reporting API](https://w3c.github.io/reporting/) and provides an easy plug-and-play package for your existing project. It will automatically add the necessary Report HTTP headers and log all configured browser errors to your Laravel backend.\n\n## Documentation\n\nFind yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving this package? Feel free to [create an issue on GitHub](https://github.com/devdavido/laravel-reporto/issues), we'll try to address it as soon as possible.\n\nIf you've found a bug regarding security please mail github{at}diskoboss{døt}de instead of using the issue tracker.\n\n## Minimum requirements\n\n- PHP 8.0+\n- Laravel 9+\n\nFor support of older PHP / Laravel versions, check out previous releases of this package.\n\n## Installation\n\nYou can install this package via composer using this command:\n\n```bash\ncomposer require devdavido/laravel-reporto\n```\n\nThe package will automatically register itself and add a `Report-To` header to your `web` routes.\nEach error or violation will be logged to the backend.\n\nYou can publish the config-file with:\n\n```bash\nphp artisan vendor:publish --provider=\"DevDavido\\Reporto\\ReportoServiceProvider\" --tag=\"config\"\n```\n\nThis is the contents of the published config file:\n\n```php\nreturn [\n    /*\n     * Use this setting to enable the reporting API header\n     */\n    'enabled' =\u003e env('REPORTING_API_ENABLED', true),\n\n    /*\n     * Enables the reporting API for all subdomains\n     */\n    'include_subdomains' =\u003e env('REPORTING_API_INCLUDE_SUBDOMAINS', false),\n\n    /*\n     * Exclude certain source files from being logged\n     */\n    'exclude_source_files' =\u003e env('REPORTING_API_EXCLUDE_SOURCE_FILES', ['chrome-extension://*']),\n\n    /*\n     * Defines cached lifetime of all endpoint in seconds (86400s = 1 day)\n     */\n    'endpoint_max_age' =\u003e env('REPORTING_API_MAX_AGE', 86400),\n\n    /*\n     * Which types of browser errors to report\n     * @see https://w3c.github.io/reporting/\n     */\n    'groups' =\u003e [\n        'default',\n        'csp-endpoint',\n        'network-errors'\n    ],\n\n    /*\n     * If you want to set the logging route prefix\n     */\n    'route_prefix' =\u003e 'log'\n];\n```\n\n## Support me\n\nIf you installed the package and it was useful for you or your business, please don't hesitate to make a donation. Thank you!\n\n\u003ca href=\"https://www.buymeacoffee.com/devdavido\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/DevDavido/laravel-reporto/assets/997605/b7e908c3-0407-4b17-83b7-94b760a4c653\" width=\"180\" alt=\"Buy me a coffee\"\u003e\u003c/a\u003e\n\n## Testing\n\nYou can run the tests with:\n\n```bash\nvendor/bin/phpunit\n```\n\n## Ideas / ToDo\n\n- Daily/weekly reports via email\n- Multiple endpoints\n- More unit tests\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Security\n\nIf you discover any security related issues, please email github{at}diskoboss{døt}de instead of using the issue tracker.\n\n## Credits\n\n- [Freek Van der Herten](https://github.com/freekmurze) for letting me use his packages as boilerplate.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdavido%2Flaravel-reporto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevdavido%2Flaravel-reporto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdavido%2Flaravel-reporto/lists"}