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 version | Build status |
---|---|
Laravel 5.1 | |
Laravel 5.2 | |
Laravel 5.3 | |
Laravel 5.4 |