PHPackages                             czim/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. czim/oauth2-server-laravel

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

czim/oauth2-server-laravel
==========================

An OAuth 2.0 bridge for Laravel and Lumen

5.6.0(7y ago)02.6k1MITPHPPHP &gt;=5.6

Since Oct 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/czim/oauth2-server-laravel)[ Packagist](https://packagist.org/packages/czim/oauth2-server-laravel)[ RSS](/packages/czim-oauth2-server-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (12)Versions (39)Used By (0)

OAuth 2.0 Server for Laravel (deprecated for Laravel 5.3+) (Forked for 5.4 use)
===============================================================================

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

[![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.

> **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 ServerPHP5.4.x5.4.x&gt;= 5.6Documentation
-------------

[](#documentation)

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

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

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 53% 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 ~52 days

Recently: every ~257 days

Total

37

Last Release

2775d 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

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

3.0.1PHP &gt;=5.4.0

5.0.0PHP &gt;=5.5.9

5.4.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/1657b09521b6030fe32d864a493ded8b1dbbdf737ef3772135dfc123cea34767?d=identicon)[czim](/maintainers/czim)

---

Top Contributors

[![lucadegasperi](https://avatars.githubusercontent.com/u/820687?v=4)](https://github.com/lucadegasperi "lucadegasperi (203 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (134 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)")[![marcorivm](https://avatars.githubusercontent.com/u/1222598?v=4)](https://github.com/marcorivm "marcorivm (1 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)")[![jkazimir](https://avatars.githubusercontent.com/u/913745?v=4)](https://github.com/jkazimir "jkazimir (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/czim-oauth2-server-laravel/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k89.4M575](/packages/laravel-passport)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[calebdw/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

15104.9k4](/packages/calebdw-larastan)

PHPackages © 2026

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