cube-agency / error-reporter
Reporting exceptions over HTTP to remote address
Installs: 8 696
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 1
README
- Require package
composer require cube-agency/error-reporter
- Update .env file with relevant API url and key
ERROR_REPORTER_API_URL=xxx
ERROR_REPORTER_API_KEY=yyy
- Register service provider in
config/app.php
(for Laravel 5.4 and older )
'providers' => [
CubeAgency\ErrorReporter\ErrorReporterServiceProvider::class
- Bind exception handler in
bootstrap/app.php
$app->singleton(
Illuminate\Contracts\Debug\ExceptionHandler::class,
CubeAgency\ErrorReporter\Exceptions\Handler::class
);
- Override package config default values by creating a config file in
config/error-reporter.php