OAuth 2.0 authorization server and resource server for the Laravel framework. Standard compliant thanks to the amazing work by The League of Extraordinary Packages OAuth 2.0 authorization server and resource server.
The package assumes you have a good-enough knowledge of the principles behind the OAuth 2.0 Specification.
Laravel | OAuth Server | PHP |
---|---|---|
4.0.x | 1.0.x | >= 5.3 |
4.1.x | 1.0.x | >= 5.3 |
4.2.x | 3.0.x | >= 5.4 |
5.0.x | 4.0.x@dev | >= 5.4 |
You can install the package via composer. add the following line to your composer.json file:
"lucadegasperi/oauth2-server-laravel": "3.0.x"
Add this line of code to the providers
array located in your app/config/app.php
file:
'LucaDegasperi\OAuth2Server\Storage\FluentStorageServiceProvider',
'LucaDegasperi\OAuth2Server\OAuth2ServerServiceProvider',
And this lines to the aliases
array:
'Authorizer' => 'LucaDegasperi\OAuth2Server\Facades\AuthorizerFacade',
This package features an extensive wiki to help you getting started implementing an OAuth 2.0 Server in your Laravel app.
Bugs and feature request are tracked on GitHub
This package is released under the MIT License.
The code on which this package is based, is principally developed and maintained by Alex Bilbie.