This package has been heavily inspired by the Larahawk Watcher package. Since the service seems to be dead, I decided to rewrite it almost from scratch.
This watcher package listens for exceptions and log events from your Laravel application and reports them back to your LaraWatchPro account.
- Create a LarawatchPro account, or host your own server !
- Install this package using
composer require larawatchpro/logger
- Make any desired adjustments to the watcher using the package's config file
- Declare the logger in your
config/logging.php
file :'channels' => [ 'larawatch' => [ 'driver' => 'custom', 'via' => LarawatchLogger\Logger::class, ],
- Add your project's API key and server URL to the application's
.env
file. - Change your logger in
.env
toLOG_CHANNEL=larawatch
Feel free to submit any issues you might have with this package, but please search through previously-added ones first. All contributions are welcome!
The MIT License (MIT). See LICENSE.md for more details.