Skip to content

Commit

Permalink
Lumen installation documentation (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandorst authored and sandervanhooft committed Jul 24, 2019
1 parent f91943c commit 5105fbd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5105fbd

Please sign in to comment.