# Register Service Provider

In a Lumen application you must explicitly tell the application to register the package's service provider as following:

# bootstrap/app.php

$app = new Laravel\Lumen\Application(\dirname(__DIR__));

// Other actions...

$app->register(\EonX\EasyErrorHandler\Bridge\Laravel\Provider\EasyErrorHandlerServiceProvider::class);

# Add Config

In a Lumen application you must explicitly tell the application to add the package's config as following:

# bootstrap/app.php

$app = new Laravel\Lumen\Application(\dirname(__DIR__));

// Other actions...

$app->configure('easy-error-handler');