This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Laravel bridge for the league/oauth2-server package

1.1.0 2017-09-03 10:10 UTC

This package is not auto-updated.

Last update: 2021-06-08 08:37:40 UTC


Build Status Code Coverage Scrutinizer Code Quality


This package forms the link between your Laravel (or Lumen) application and the league/oauth2-server package.

The goals of this package are as follows:

  • Provide an easy and non-intrusive way to provide Oauth2 authorization for your application
  • Have sensible defaults in place that will work for most cases, but at the same time offer flexibility for those who desire it
  • Stay as close to the league/oauth2-server code as possible

Why not Laravel Passport?

This package aims to be a more flexible, more advanced and more loosely coupled alternative to Laravel Passport. In addition, this package aims to be compatible with Laravel/Lumen 5.1 and up.


Simply install this package with composer:

$ composer require mvdstam/oauth2-server-laravel

Framework compatibility

Framework version Build status
Laravel 5.1 Build Status
Laravel 5.2 Build Status
Laravel 5.3 Build Status
Laravel 5.4 Build Status