Download the PHP package devdavido/laravel-reporto without Composer
On this page you can find all versions of the php package devdavido/laravel-reporto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devdavido/laravel-reporto
More information about devdavido/laravel-reporto
Files in devdavido/laravel-reporto
Package laravel-reporto
Short Description Log browser errors to the server using W3C Reporting API
License MIT
Informations about the package laravel-reporto
Reporto: Report browser errors to the server
This package makes use of the W3C Reporting API 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.
Documentation
Find 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, we'll try to address it as soon as possible.
If you've found a bug regarding security please mail github{at}diskoboss{døt}de instead of using the issue tracker.
Minimum requirements
- PHP 8.0+
- Laravel 9+
For support of older PHP / Laravel versions, check out previous releases of this package.
Installation
You can install this package via composer using this command:
The package will automatically register itself and add a Report-To
header to your web
routes.
Each error or violation will be logged to the backend.
You can publish the config-file with:
This is the contents of the published config file:
Support me
If you installed the package and it was useful for you or your business, please don't hesitate to make a donation (as I am a student). Thank you!
Testing
You can run the tests with:
Ideas / ToDo
- Daily/weekly reports via email
- Multiple endpoints
- More unit tests
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email github{at}diskoboss{døt}de instead of using the issue tracker.
Credits
- Freek Van der Herten for letting me use his packages as boilerplate.
License
The MIT License (MIT). Please see License File for more information.