deferdie / exception
The clients of the ExceptionLogger deferdie ExceptionLogger
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:laravel
Requires
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-11-18 22:41:13 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