From 5105fbd0e6dae7cd7fa1f35e9147fbc84bf49fd9 Mon Sep 17 00:00:00 2001 From: Bas Date: Wed, 24 Jul 2019 13:58:55 +0200 Subject: [PATCH] Lumen installation documentation (#105) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7db2836..5bfff19 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,13 @@ Or add it to `composer.json` manually: Laravel-Mollie's service providers will be automatically registered using Laravel's auto-discovery feature. +Note: For Lumen you have to add the Mollie facade and service provider manually to: `bootstrap/app.php` : +```php +$app->withFacades(true, ["Mollie\Laravel\Facades\Mollie" => "Mollie"]); + +$app->register(Mollie\Laravel\MollieServiceProvider::class); +``` + ## Configuration You'll only need to add the `MOLLIE_KEY` variable to your `.env` file.