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)0654↓73.3%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 today

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

33

—

LowBetter than 72% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity16

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

580d 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.2k34.4k15](/packages/tempest-framework)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

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

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

6942.5M421](/packages/drupal-core-recommended)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60216.0M85](/packages/mollie-mollie-api-php)[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)

PHPackages © 2026

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