Skip to content

cube-agency/error-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

error-reporter

  1. Require package
composer require cube-agency/error-reporter
  1. Update .env file with relevant API url and key
ERROR_REPORTER_API_URL=xxx
ERROR_REPORTER_API_KEY=yyy
  1. Register service provider in config/app.php (for Laravel 5.4 and older )
'providers' => [


   CubeAgency\ErrorReporter\ErrorReporterServiceProvider::class
  1. Bind exception handler in bootstrap/app.php
$app->singleton(
    Illuminate\Contracts\Debug\ExceptionHandler::class,
    CubeAgency\ErrorReporter\Exceptions\Handler::class
);

  1. Override package config default values by creating a config file in config/error-reporter.php