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

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

slickplan/oauth2-slickplan-php
==============================

Slickplan.com OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1.0.0(3y ago)08GPL-2.0-or-laterPHPPHP ^7.4 || ^8.0

Since Jun 21Pushed 3y ago1 watchersCompare

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

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

Slickplan Provider for OAuth 2.0 Client
=======================================

[](#slickplan-provider-for-oauth-20-client)

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

Slickplan API documentation: [slickplan/api-docs](https://github.com/slickplan/api-docs)

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

[](#installation)

To install, use composer:

```
composer require slickplan/oauth2-slickplan-php

```

Usage
-----

[](#usage)

Please refer to [League's Oauth Client documentation](https://oauth2-client.thephpleague.com/usage/).

Example code:

```
use Slickplan\OAuth2\Client\Provider\Slickplan as SlickplanProvider;

$provider = new SlickplanProvider([
    'clientId' => '{client-id}',
    'clientSecret' => '{client-secret}',
    'redirectUri' => 'https://example.com/slickplan/redirect-uri/',
]);

if (isset($_GET['error'])) {
    print_r($_GET);
    exit;
} elseif (!isset($_GET['code'])) {
    header('Location: ' . $provider->getAuthorizationUrl(['scope' => 'all_read']));
    exit;
}

try {
    $token = $provider->getAccessToken('authorization_code', [
        'code' => $_GET['code'],
    ]);
    $user = $provider->getResourceOwner($token);
} catch (Exception $e) {
    exit('Error: ' . $e->getMessage());
}

echo 'Hello ' . $user->getFirstName() . '!';
echo 'Your API token: ' . $token->getToken() . '';
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1427d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/18000178bfcc30458e51fea66c3b38a57c01f309e9736a52ec50f0a5ac7afbe3?d=identicon)[dzafel](/maintainers/dzafel)

---

Top Contributors

[![PawelAwmous](https://avatars.githubusercontent.com/u/1517385?v=4)](https://github.com/PawelAwmous "PawelAwmous (2 commits)")

---

Tags

clientAuthenticationoauthoauth2authorizationslickplan

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

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

42121.2M118](/packages/league-oauth2-google)[cakedc/oauth2-cognito

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

18597.7k](/packages/cakedc-oauth2-cognito)

PHPackages © 2026

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