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

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

fahmiardi/oauth2-server-laravel
===============================

A Laravel 4 wrapper for the popular OAuth 2.0 Server package league/oauth2-server

5.0.1(10y ago)0272MITPHPPHP &gt;=5.5.9

Since Oct 9Pushed 10y ago1 watchersCompare

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

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

PHP OAuth 2.0 Server for Laravel
================================

[](#php-oauth-20-server-for-laravel)

[![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/bd32ac0fc03dc2b40702f636939a61da97e7f07a94362c84c817391889e9f68b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2f332e782e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lucadegasperi/oauth2-server-laravel)[![Coverage Status](https://camo.githubusercontent.com/0eb40045862b1f17f5e018aa38a923e5c194234fe70a8f409a0a832b5abc8359/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2f332e782e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lucadegasperi/oauth2-server-laravel/code-structure)[![Quality Score](https://camo.githubusercontent.com/9de02a56ff35638906c45a5ce9320827434bca7532485a15bd785c784980b065/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c7563616465676173706572692f6f61757468322d7365727665722d6c61726176656c2f332e782e7376673f7374796c653d666c61742d737175617265)](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)

[OAuth 2.0](http://tools.ietf.org/wg/oauth/draft-ietf-oauth-v2/) authorization server and resource server for the Laravel framework. 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.

The package assumes you have a good-enough knowledge of the principles behind the [OAuth 2.0 Specification](http://tools.ietf.org/html/rfc6749).

Version Compability
-------------------

[](#version-compability)

LaravelOAuth ServerPHP4.0.x1.0.x&gt;= 5.34.1.x1.0.x&gt;= 5.34.2.x3.0.x&gt;= 5.44.2.x4.0.x@dev&gt;= 5.4Documentation
-------------

[](#documentation)

This package features an [extensive wiki](https://github.com/lucadegasperi/oauth2-server-laravel/wiki) to help you getting started implementing an OAuth 2.0 Server in your Laravel app.

Support
-------

[](#support)

Bugs and feature request are tracked on [GitHub](https://github.com/lucadegasperi/oauth2-server-laravel/issues)

License
-------

[](#license)

This package is released under the MIT License.

Credits
-------

[](#credits)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73.6% 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 ~29 days

Recently: every ~63 days

Total

26

Last Release

3873d ago

Major Versions

0.9.3 → 1.0.02013-11-19

1.x-dev → 3.0.12014-11-23

3.x-dev → 4.0.02015-01-21

3.0.2 → 5.0.02015-08-06

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/3264535342f6dd2bacce6425cb96c32d6113e25e3adac91a11660be332e764eb?d=identicon)[fahmiardi](/maintainers/fahmiardi)

---

Top Contributors

[![lucadegasperi](https://avatars.githubusercontent.com/u/820687?v=4)](https://github.com/lucadegasperi "lucadegasperi (148 commits)")[![fahmiardi](https://avatars.githubusercontent.com/u/1201482?v=4)](https://github.com/fahmiardi "fahmiardi (22 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)")[![stephenfrank](https://avatars.githubusercontent.com/u/112059?v=4)](https://github.com/stephenfrank "stephenfrank (2 commits)")[![mohitmamoria](https://avatars.githubusercontent.com/u/2756694?v=4)](https://github.com/mohitmamoria "mohitmamoria (2 commits)")[![fx88](https://avatars.githubusercontent.com/u/1552543?v=4)](https://github.com/fx88 "fx88 (2 commits)")[![edeckers](https://avatars.githubusercontent.com/u/202540?v=4)](https://github.com/edeckers "edeckers (1 commits)")[![MatthewRuddy](https://avatars.githubusercontent.com/u/2593287?v=4)](https://github.com/MatthewRuddy "MatthewRuddy (1 commits)")[![maximebeaudoin](https://avatars.githubusercontent.com/u/3246184?v=4)](https://github.com/maximebeaudoin "maximebeaudoin (1 commits)")[![pulkitjalan](https://avatars.githubusercontent.com/u/4124930?v=4)](https://github.com/pulkitjalan "pulkitjalan (1 commits)")[![rtablada](https://avatars.githubusercontent.com/u/2532004?v=4)](https://github.com/rtablada "rtablada (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")[![ZEALi](https://avatars.githubusercontent.com/u/1265185?v=4)](https://github.com/ZEALi "ZEALi (1 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (1 commits)")[![Galaxonic](https://avatars.githubusercontent.com/u/2466290?v=4)](https://github.com/Galaxonic "Galaxonic (1 commits)")[![jkazimir](https://avatars.githubusercontent.com/u/913745?v=4)](https://github.com/jkazimir "jkazimir (1 commits)")[![LavaToaster](https://avatars.githubusercontent.com/u/838613?v=4)](https://github.com/LavaToaster "LavaToaster (1 commits)")

---

Tags

apilaravellumenserveroauthoauth2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[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)
