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

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

arharp/oauth2-planningcenter
============================

Planning Center provider for league/oauth2-client

1.0(2y ago)0104MITPHPPHP &gt;=7.3

Since Apr 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/arharp/oauth2-planningcenter)[ Packagist](https://packagist.org/packages/arharp/oauth2-planningcenter)[ RSS](/packages/arharp-oauth2-planningcenter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Planning Center OAuth2 client provider
======================================

[](#planning-center-oauth2-client-provider)

This package provides [PlanningCenter](https://www.planningcenter.com) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League.

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

[](#installation)

```
composer require arharp/oauth2-planningcenter
```

Usage
-----

[](#usage)

The following is a basic example of how you would authenticate a user.

Obtain a client ID and secret by creating an application in your [developer account](https://api.planningcenteronline.com/oauth/applications).

```
$provider = new Arharp\OAuth2\Client\Provider\PlanningCenter([
    'clientId' => 'CLIENT_ID',
    'clientSecret' => 'SECRET',
    'redirectUri' => 'https://example.org/endpoint',
]);

if (! isset($_GET['code'])) {
    # Get the authorization URL...
    $url = $provider->getAuthorizationUrl(['scope' => 'people giving']);

    # Redirect the user...
    header('Location: ' . $url);

    exit;

} else {
    # Get the access token
    $accessToken = $provider->getAccessToken('authorization_code', [
        'code' => $_GET['code']
    ]);

    # Do something with the access token...
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.5% 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

Unknown

Total

1

Last Release

766d ago

### Community

Maintainers

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

---

Top Contributors

[![rakeev](https://avatars.githubusercontent.com/u/1861570?v=4)](https://github.com/rakeev "rakeev (6 commits)")[![yethee](https://avatars.githubusercontent.com/u/559488?v=4)](https://github.com/yethee "yethee (3 commits)")[![arharp](https://avatars.githubusercontent.com/u/531493?v=4)](https://github.com/arharp "arharp (1 commits)")[![kudmni](https://avatars.githubusercontent.com/u/6409099?v=4)](https://github.com/kudmni "kudmni (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

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

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

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

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

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

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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