byronfichardt/laravel-watcher

Open Source Exception Tracker for Laravel

0.2.1 2022-12-24 20:05 UTC

This package is auto-updated.

Last update: 2024-08-29 06:23:15 UTC


README

Tests

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.