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

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

lichv/oauth2-server
===================

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

0.0.5(7y ago)1361MITPHPPHP &gt;=7.0.0

Since Jan 4Pushed 7y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (10)Versions (6)Used By (1)

oauth2-server
=============

[](#oauth2-server)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

5

Last Release

2688d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30b7ccf2dd59504e060829498bb2125e1dd3db07c124192ac4767a49f04dc69b?d=identicon)[lichv](/maintainers/lichv)

---

Top Contributors

[![lichv](https://avatars.githubusercontent.com/u/19921475?v=4)](https://github.com/lichv "lichv (2 commits)")

---

Tags

apiauthAuthenticationserveroauthoauth2authorizationoauth 2.0secureresourceprotectauthorisationoauth 2

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[chervand/yii2-oauth2-server

OAuth 2.0 server for Yii 2.0 with MAC tokens support.

1524.2k1](/packages/chervand-yii2-oauth2-server)[ezralazuardy/heimdall

Painless OAuth 2.0 Server for CodeIgniter 4

454.2k](/packages/ezralazuardy-heimdall)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)

PHPackages © 2026

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