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

php
// config/app.php 'providers' => [ /* * Package Service Providers... */ \Honeybadger\HoneybadgerLaravel\HoneybadgerServiceProvider::class, ]

Step 2: Register the facade with the framework

php
// config/app.php 'aliases' => [ 'Honeybadger' => \Honeybadger\HoneybadgerLaravel\Facades\Honeybadger::class, ]