Skip to content

Commit

Permalink
Add Authorizer alias to Lumen guide
Browse files Browse the repository at this point in the history
In the Lumen getting started guide, add the class_alias registration
for the Authorizer class
  • Loading branch information
tlshaheen committed Mar 14, 2016
1 parent 9589d7c commit 10d68c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/getting-started/lumen.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ $app->routeMiddleware([
]);
```

... and Authorizer alias
```php
class_alias(\LucaDegasperi\OAuth2Server\Facades\Authorizer::class, 'Authorizer');
```

### Copy config

Copy `vendor/lucadegasperi/oauth2-server-laravel/config/oauth2.php` to your own config folder (`config/oauth2.php` in your project root). It has to be the correct config folder as it is registered using `$app->configure()`.
Expand Down

0 comments on commit 10d68c1

Please sign in to comment.