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

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

contentnet/oauth2-contentnet
============================

PHP OAuth2 client for ContentNet

1.0.2(8y ago)018MITPHP

Since May 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ContentNet/oauth2-contentnet)[ Packagist](https://packagist.org/packages/contentnet/oauth2-contentnet)[ RSS](/packages/contentnet-oauth2-contentnet/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

PHP OAuth2 client for ContentNet
================================

[](#php-oauth2-client-for-contentnet)

[![Build Status](https://camo.githubusercontent.com/3839a9c5f4ae7603c9fc5c57eff59e65805dd41cf6552d4d5d6c40d916f64419/68747470733a2f2f7472617669732d63692e6f72672f436f6e74656e744e65742f6f61757468322d636f6e74656e746e65742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ContentNet/oauth2-contentnet)[![Coverage Status](https://camo.githubusercontent.com/d7b7b85ea55d45cb65058a6abbc80d476dd6ec28622a10e4a0ad73bb7ac587d3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f436f6e74656e744e65742f6f61757468322d636f6e74656e746e65742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/ContentNet/oauth2-contentnet?branch=master)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://raw.githubusercontent.com/ContentNet/oauth2-contentnet/master/LICENSE)

This package provides ContentNet OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

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

[](#installation)

To install, use composer:

```
composer require contentnet/oauth2-contentnet

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `ContentNet\OAuth2\Client\Provider\ContentNet` as the provider.

### Authorization Code Flow

[](#authorization-code-flow)

Follow the [Basic Usage Guide](http://oauth2-client.thephpleague.com/usage/).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

2957d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13321887?v=4)[Joseph Frazer](/maintainers/frazjp65)[@frazjp65](https://github.com/frazjp65)

---

Top Contributors

[![frazjp65](https://avatars.githubusercontent.com/u/13321887?v=4)](https://github.com/frazjp65 "frazjp65 (15 commits)")

---

Tags

authenticationauthorizationoauth2phpphp-libraryclientoauthoauth2authorizationcontentnet

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

42222.6M157](/packages/league-oauth2-google)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2276.2M36](/packages/stevenmaguire-oauth2-keycloak)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

24610.3M72](/packages/thenetworg-oauth2-azure)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1152.7M11](/packages/patrickbussmann-oauth2-apple)[omines/oauth2-gitlab

GitLab OAuth 2.0 Client Provider for The PHP League OAuth2-Client

36761.9k15](/packages/omines-oauth2-gitlab)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

261.8M1](/packages/mollie-oauth2-mollie-php)

PHPackages © 2026

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