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.9k↑93.3%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 2w 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

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

[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

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

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

589701.7k2](/packages/scheb-2fa)[scheb/2fa-trusted-device

Extends scheb/2fa-bundle with trusted devices support

366.0M40](/packages/scheb-2fa-trusted-device)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M674](/packages/shopware-core)[jeremy379/laravel-openid-connect

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

62473.7k10](/packages/jeremy379-laravel-openid-connect)[drenso/symfony-oidc-bundle

OpenID connect bundle for Symfony

97795.4k4](/packages/drenso-symfony-oidc-bundle)

PHPackages © 2026

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