/oauth2-server-laravel

Laravel bridge for the league/oauth2-server package

Primary LanguagePHP

Oauth2 Server Laravel

Build Status Code Coverage Scrutinizer Code Quality

SensioLabsInsight

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.

Installation

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