byronfichardt / laravel-watcher
Open Source Exception Tracker for Laravel
0.2.1
2022-12-24 20:05 UTC
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.5
- illuminate/support: ^8.0|^9.0
Requires (Dev)
- orchestra/testbench: ^6.0|^7.0
- phpunit/phpunit: ^9.0
README
This is the package need by the Watcher app to watch for exceptions in your Laravel Application. Exceptions will be sent to the Watcher Server.
Installation
You can install the package via composer:
composer require byronfichardt/laravel-watcher
You should publish the config file with:
php artisan vendor:publish --provider="ByronFichardt\Watcher\WatcherServiceProvider" --tag="config"
Usage
In the Handler.php file, add the following to the report method:
Watcher::report($exception);
Then you need to add the following to your .env file:
WATCHER_TOKEN= WATCHER_BASE_URL= WATCHER_SERVICE_ID=
Credits
License
Watcher is open-sourced software licensed under the MIT license..
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.