PHPackages                             radweb/oauth2-server-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. radweb/oauth2-server-laravel

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

radweb/oauth2-server-laravel
============================

An OAuth 2.0 bridge for Laravel and Lumen

6.0.0(6y ago)014MITPHPPHP &gt;=5.5.9

Since Oct 9Pushed 6y agoCompare

[ Source](https://github.com/Radweb/oauth2-server-laravel)[ Packagist](https://packagist.org/packages/radweb/oauth2-server-laravel)[ RSS](/packages/radweb-oauth2-server-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (12)Versions (38)Used By (0)

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

[](#oauth-20-server-for-laravel-deprecated-for-laravel-53)

[![oauth2-server-laravel](https://cloud.githubusercontent.com/assets/499192/9065550/751404ba-3ad2-11e5-9f92-3d4d5d4b9c54.png)](https://cloud.githubusercontent.com/assets/499192/9065550/751404ba-3ad2-11e5-9f92-3d4d5d4b9c54.png)

> **Note:** This package is no longer maintaned for Laravel 5.3+ since Laravel now features the [Passport package](https://laravel.com/docs/passport).

[OAuth 2.0](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-v2/) authorization server and resource server for the Laravel and Lumen frameworks. Standard compliant thanks to the amazing work by [The League of Extraordinary Packages](http://www.thephpleague.com) OAuth 2.0 authorization server and resource server.

[![Latest Version](https://camo.githubusercontent.com/c31240b7783fb5fa4e7b96d69fa5dd77737268c0d9117207db080605b536da5a/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/lucadegasperi/oauth2-server-laravel/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/0340077590a65e10b8d52f000465c54853268a555cc93f49d8bd3fcd2994503a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lucadegasperi/oauth2-server-laravel)[![Coverage Status](https://camo.githubusercontent.com/d15a3767983b28dd47b7edf7fc3ecbc1aa8863266a1bc85e07267ebefac9d14c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lucadegasperi/oauth2-server-laravel/code-structure)[![Quality Score](https://camo.githubusercontent.com/a874a7b84c198b4e22cfda074c4118a0d3b55d191a112183dd4c5af01b9fe52a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lucadegasperi/oauth2-server-laravel)[![Total Downloads](https://camo.githubusercontent.com/7899013f287b33cd22e769f873797dd87d9ccf0fb078a6cef41cbfa2a32c5039/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lucadegasperi/oauth2-server-laravel)

> **Note:** This package assumes you have a good-enough knowledge of the principles behind the [OAuth 2.0 authorization specification](http://tools.ietf.org/html/rfc6749).

Version Compatibility
---------------------

[](#version-compatibility)

LaravelOAuth ServerPHP4.0.x1.0.x&gt;= 5.34.1.x1.0.x&gt;= 5.34.2.x3.0.x&gt;= 5.45.0.x4.0.x&gt;= 5.45.1.x5.0.x&gt;= 5.5.95.2.x5.1.x&gt;= 5.5.9Documentation
-------------

[](#documentation)

This package features an [extensive documentation](docs#readme) to help you getting started implementing an OAuth 2.0 server in your Laravel application.

Contributing
------------

[](#contributing)

Bugs and feature request are tracked on [GitHub](https://github.com/lucadegasperi/oauth2-server-laravel/issues). Please read our [contribution guidelines](CONTRIBUTING.md) before opening a new issue or submitting a new pull request.

Credits
-------

[](#credits)

The code on which this package is [based](https://github.com/thephpleague/oauth2-server), is principally developed and maintained by [Alex Bilbie](https://twitter.com/alexbilbie).

License
-------

[](#license)

The Laravel OAuth 2.0 package is released under [the MIT License](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 51.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~61 days

Recently: every ~332 days

Total

36

Last Release

2441d ago

Major Versions

0.9.3 → 1.0.02013-11-19

1.0.x-dev → 3.0.12014-11-23

3.0.x-dev → 4.0.02015-04-21

4.0.x-dev → 5.0.02015-08-06

5.2.1 → 6.0.02019-09-02

PHP version history (3 changes)0.9.0PHP &gt;=5.3.0

3.0.1PHP &gt;=5.4.0

5.0.0PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/b8b013c8573ed37a04664d3494beb856ff90d3423a2e4ece5b99545696e4a0ce?d=identicon)[iWader](/maintainers/iWader)

---

Top Contributors

[![lucadegasperi](https://avatars.githubusercontent.com/u/820687?v=4)](https://github.com/lucadegasperi "lucadegasperi (204 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (134 commits)")[![iWader](https://avatars.githubusercontent.com/u/2007548?v=4)](https://github.com/iWader "iWader (11 commits)")[![johanobergman](https://avatars.githubusercontent.com/u/6485774?v=4)](https://github.com/johanobergman "johanobergman (6 commits)")[![andizzle](https://avatars.githubusercontent.com/u/864065?v=4)](https://github.com/andizzle "andizzle (4 commits)")[![thylo](https://avatars.githubusercontent.com/u/1242863?v=4)](https://github.com/thylo "thylo (4 commits)")[![maximebeaudoin](https://avatars.githubusercontent.com/u/3246184?v=4)](https://github.com/maximebeaudoin "maximebeaudoin (2 commits)")[![baileylo](https://avatars.githubusercontent.com/u/145345?v=4)](https://github.com/baileylo "baileylo (2 commits)")[![fx88](https://avatars.githubusercontent.com/u/1552543?v=4)](https://github.com/fx88 "fx88 (2 commits)")[![kroeder](https://avatars.githubusercontent.com/u/5478899?v=4)](https://github.com/kroeder "kroeder (2 commits)")[![mohitmamoria](https://avatars.githubusercontent.com/u/2756694?v=4)](https://github.com/mohitmamoria "mohitmamoria (2 commits)")[![mvdstam](https://avatars.githubusercontent.com/u/7629384?v=4)](https://github.com/mvdstam "mvdstam (2 commits)")[![stephenfrank](https://avatars.githubusercontent.com/u/112059?v=4)](https://github.com/stephenfrank "stephenfrank (2 commits)")[![mathiasgrimm](https://avatars.githubusercontent.com/u/450069?v=4)](https://github.com/mathiasgrimm "mathiasgrimm (1 commits)")[![MatthewRuddy](https://avatars.githubusercontent.com/u/2593287?v=4)](https://github.com/MatthewRuddy "MatthewRuddy (1 commits)")[![jonathanlundstrom](https://avatars.githubusercontent.com/u/4216027?v=4)](https://github.com/jonathanlundstrom "jonathanlundstrom (1 commits)")[![minchao](https://avatars.githubusercontent.com/u/3313639?v=4)](https://github.com/minchao "minchao (1 commits)")[![minuwan](https://avatars.githubusercontent.com/u/1106745?v=4)](https://github.com/minuwan "minuwan (1 commits)")[![tpavlek](https://avatars.githubusercontent.com/u/782576?v=4)](https://github.com/tpavlek "tpavlek (1 commits)")[![hlorofos](https://avatars.githubusercontent.com/u/5462396?v=4)](https://github.com/hlorofos "hlorofos (1 commits)")

---

Tags

apilaravellumenserveroauthoauth2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/radweb-oauth2-server-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/radweb-oauth2-server-laravel/health.svg)](https://phpackages.com/packages/radweb-oauth2-server-laravel)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
