PHPackages                             achertovsky/lib-oauth2-client - 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. achertovsky/lib-oauth2-client

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

achertovsky/lib-oauth2-client
=============================

2.0.0(1y ago)0671↓45.2%1MITPHPPHP &gt;=8.1

Since May 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/achertovsky/lib-oauth2-client)[ Packagist](https://packagist.org/packages/achertovsky/lib-oauth2-client)[ RSS](/packages/achertovsky-lib-oauth2-client/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (3)Versions (9)Used By (0)

User
====

[](#user)

Lib called to reduce hassle in projects with oauth2. Expected to be convenient solution for the purpose.

usage
-----

[](#usage)

To check usage cases, please, refer to `tests/unit/Oauth2Test.php`, `tests/unit/GoogleAuthenticatorTest.php`. Those tests explain how Oauth2 should be used in your application.

Development
===========

[](#development)

install env
-----------

[](#install-env)

```
docker build -t lib-oauth2-client .
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-oauth2-client composer i

```

testing
-------

[](#testing)

```
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-oauth2-client vendor/bin/phpunit

```

measuing coverage
-----------------

[](#measuing-coverage)

```
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-oauth2-client php -dpcov.enabled=1 -dpcov.directory=/tmp vendor/bin/phpunit --coverage-text

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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 ~80 days

Recently: every ~112 days

Total

8

Last Release

625d ago

Major Versions

0.2.0 → 1.0.02024-07-16

1.0.2 → 2.0.02024-11-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb512ad12b1a70d7a8a9fc3d00e6d5eb9ddcf1c7cdf73b3179e6fd424b840750?d=identicon)[achertovsky](/maintainers/achertovsky)

---

Top Contributors

[![achertovsky](https://avatars.githubusercontent.com/u/13575044?v=4)](https://github.com/achertovsky "achertovsky (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/achertovsky-lib-oauth2-client/health.svg)

```
[![Health](https://phpackages.com/badges/achertovsky-lib-oauth2-client/health.svg)](https://phpackages.com/packages/achertovsky-lib-oauth2-client)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.9k](/packages/cakephp-cakephp)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M449](/packages/drupal-core-recommended)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.7M10](/packages/chargebee-chargebee-php)

PHPackages © 2026

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