PHPackages                             marcoazn89/oauth2-password-grant - 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. marcoazn89/oauth2-password-grant

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

marcoazn89/oauth2-password-grant
================================

v1.0.8(8y ago)027.7k↑107.1%1PHP

Since Mar 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/marcoazn89/oauth2-password-grant)[ Packagist](https://packagist.org/packages/marcoazn89/oauth2-password-grant)[ RSS](/packages/marcoazn89-oauth2-password-grant/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (0)

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

[](#installation)

```
composer require marcoazn89/oauth2-password-grant:^1.0

```

Generate your keys
------------------

[](#generate-your-keys)

```
openssl genrsa -out oauth-key.pem 1024
openssl rsa -in oauth-key.pem -pubout > oauth-key.pub

```

OAuth2 configuration
--------------------

[](#oauth2-configuration)

```
'auth' => [
    'private-key' => 'file://' . __DIR__ .'/../oauth-key.pem',
    'public-key' => 'file://' . __DIR__ .'/../oauth-key.pub',
    'expiration' => 604800
],
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~77 days

Recently: every ~103 days

Total

9

Last Release

3139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b79592619d05638f7b2d2518c3cb87b377aa6afe0a6abc1267533522ac1ddf1?d=identicon)[marcoazn89](/maintainers/marcoazn89)

---

Top Contributors

[![marcoazn89](https://avatars.githubusercontent.com/u/5152559?v=4)](https://github.com/marcoazn89 "marcoazn89 (18 commits)")[![david-cline-talent-inc](https://avatars.githubusercontent.com/u/22055082?v=4)](https://github.com/david-cline-talent-inc "david-cline-talent-inc (1 commits)")

### Embed Badge

![Health badge](/badges/marcoazn89-oauth2-password-grant/health.svg)

```
[![Health](https://phpackages.com/badges/marcoazn89-oauth2-password-grant/health.svg)](https://phpackages.com/packages/marcoazn89-oauth2-password-grant)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.7k51.8M372](/packages/tymon-jwt-auth)[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.7k147.0M288](/packages/league-oauth2-server)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M63](/packages/php-open-source-saver-jwt-auth)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

585684.2k1](/packages/scheb-2fa)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[scheb/2fa-trusted-device

Extends scheb/2fa-bundle with trusted devices support

365.8M34](/packages/scheb-2fa-trusted-device)

PHPackages © 2026

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