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

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

antyrace/oauth2-server
======================

Oauth2 server modification

0.1.0(10y ago)019MITPHPPHP &gt;=5.5.9

Since Oct 23Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

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

[](#oauth2-server)

Some modifications in oauth2 server

Installation
------------

[](#installation)

In your `config/oauth2.php` in 'grant\_types' array change

1.

```
    '\League\OAuth2\Server\Grant\PasswordGrant'
    '\AntyRace\OAuth2\Server\Grant\PasswordGrant'
```

2.

```
    '\League\OAuth2\Server\Grant\RefreshTokenGrant'
    '\AntyRace\OAuth2\Server\Grant\RefreshTokenGrant'
```

3.

```
    'token_type' => 'League\OAuth2\Server\TokenType\Bearer'
    'token_type' => 'AntyRace\OAuth2\Server\TokenType\Bearer'
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3861d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f32c236028a6b0eee4195be0ef5fbc7da35e4b5f5858534b2ce01dc0f931fa5?d=identicon)[AntyRace](/maintainers/AntyRace)

---

Top Contributors

[![AntyRace](https://avatars.githubusercontent.com/u/751924?v=4)](https://github.com/AntyRace "AntyRace (8 commits)")

### Embed Badge

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

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

###  Alternatives

[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)[socialiteproviders/google

Google OAuth2 Provider for Laravel Socialite

176.8M22](/packages/socialiteproviders-google)

PHPackages © 2026

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