Skip to content

Manual Laravel integration

The

honeybadger-laravel package uses Laravel’s package discovery to register the service provider and facade to the framework. If you are using an older version of Laravel or do not use package discovery see below.

Step 1: Register the provider with the framework

Section titled “Step 1: Register the provider with the framework”
config/app.php
'providers' => [
/*
* Package Service Providers...
*/
\Honeybadger\HoneybadgerLaravel\HoneybadgerServiceProvider::class,
]

Step 2: Register the facade with the framework

Section titled “Step 2: Register the facade with the framework”
config/app.php
'aliases' => [
'Honeybadger' => \Honeybadger\HoneybadgerLaravel\Facades\Honeybadger::class,
]