Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


An OAuth 2.0 bridge for Laravel and Lumen [DEPRECATED FOR LARAVEL 5.3+]

Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star half bd79095782ee4930099175e5ce7f4c89fa3ddabcd56fffcc7c74f6f2a2d46b27 (1 ratings)
Rated 4.5 out of 5
Subscribe to updates I use oauth2-server-laravel

Statistics on oauth2-server-laravel

Number of watchers on Github 2344
Number of open issues 11
Main language PHP
Average time to merge a PR 3 days
Open pull requests 11+
Closed pull requests 29+
Last commit almost 3 years ago
Repo Created over 6 years ago
Repo Last Updated almost 2 years ago
Size 746 KB
Homepage https://packagist...
Organization / Authorlucadegasperi
Latest Release5.2.1
Page Updated
Do you use oauth2-server-laravel? Leave a review!
View open issues (11)
View oauth2-server-laravel activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating oauth2-server-laravel for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

OAuth 2.0 Server for Laravel (deprecated for Laravel 5.3+)


Note: This package is no longer maintaned for Laravel 5.3+ since Laravel now features the Passport package.

OAuth 2.0 authorization server and resource server for the Laravel and Lumen frameworks. Standard compliant thanks to the amazing work by The League of Extraordinary Packages OAuth 2.0 authorization server and resource server.

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Note: This package assumes you have a good-enough knowledge of the principles behind the OAuth 2.0 authorization specification.

Version Compatibility

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 >= 5.4
5.1.x 5.0.x >= 5.5.9
5.2.x 5.1.x >= 5.5.9


This package features an extensive documentation to help you getting started implementing an OAuth 2.0 server in your Laravel application.


Bugs and feature request are tracked on GitHub. Please read our contribution guidelines before opening a new issue or submitting a new pull request.


The code on which this package is based, is principally developed and maintained by Alex Bilbie.


The Laravel OAuth 2.0 package is released under the MIT License.

oauth2-server-laravel open pull requests (View All Pulls)
  • [Feature Request] Using softDeletes for Session/Token revocation
  • Fix the client secret requirement issue
  • Apply explicit type to $result.
  • [fix issue #679]miss a situation in function get
  • Fix rethrowing of non OAuthException.
  • Enabled closures to be used as callback functions for grant types
  • Solve issue 536
  • Link to the real Authorizer from the Facade
  • Allow dynamic redirect URL
  • Add Laravel 5.5 support
  • Updating readme file that laravel 5.3 and above is supported with specific tag.
oauth2-server-laravel questions on Stackoverflow (View All Questions)
  • laravel 5 using oauth2-server-laravel how to create client in oauth_clients table?
  • Oauth2-server-laravel always ask to approve/deny after login
  • Laravel 5.1 : how to use oauth2-server-laravel?
  • problems with oauth2-server-laravel
  • What I should do after get access_token in oauth2 (lucadegasperi/oauth2-server-laravel)
  • how to use oauth2-server-laravel
  • Configuring oauth2-server-laravel with laravel-mongodb
  • issue post a resource with lucadegasperi/oauth2-server-laravel
  • lucadegasperi/oauth2-server-laravel accessing ResourceServer::getOwnerId() inside filter
oauth2-server-laravel list of languages used
oauth2-server-laravel latest release notes
5.2.1 5.2.1

Added basic support for L5.4 in the composer.json file.

5.2.0 5.2.0
  • Add Laravel 5.3 support
5.1.4 5.1.4
  • Fix bug in middleware
Other projects in PHP