deferdie / exception
The clients of the ExceptionLogger deferdie ExceptionLogger
v0.1.0
2018-03-10 14:11 UTC
Requires
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2026-02-19 01:25:46 UTC
README
Install
composer require deferdie/exception
Register service provider
ExceptionLogger\ClientExceptionLoggerServiceProvider::class,
Register alias
'ClientException' => ExceptionLogger\Facades\ClientExceptionLoggerFacade::class,
Add to Handler.php
use Exception;
ClientException::log($exception);
Add to .env file
EXCEPTION_LOGGER=http://exceptionlogger.test
EXCEPTION_LOGGER_CLIENT_ID=1
EXCEPTION_LOGGER_CLIENT_SECRET=[your application secret]
EXCEPTION_LOGGER_PROJECT_ID=1