PHPackages                             cloudi-fi/oauth2-kakao - 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. cloudi-fi/oauth2-kakao

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

cloudi-fi/oauth2-kakao
======================

Kakao OAuth 2.0 Client

1.0.1(3y ago)21.3kMITPHPPHP &gt;=5.5.0

Since Oct 21Pushed 3y agoCompare

[ Source](https://github.com/Cloudi-Fi/oauth2-kakao)[ Packagist](https://packagist.org/packages/cloudi-fi/oauth2-kakao)[ RSS](/packages/cloudi-fi-oauth2-kakao/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

oauth2-kakao
============

[](#oauth2-kakao)

extension league/OAuth2-client version by Kakao

Composer install

```
composer require tunerprime/oauth2-kakao

```

Example Code

```
$provider = new TunerPrime\OAuth2\Client\Provider\Kakao([
    'clientId'     => '{kakao-client-Id}',
    'clientSecret' => '{kakao-client-secret}', // kakao isn't require clientsecret!
    'redirectUri'  => '{your-redirect-Uri}',
]);

if (!empty($_GET['error'])) {

    exit('Got error: ' . htmlspecialchars($_GET['error'], ENT_QUOTES, 'UTF-8'));

} elseif (empty($_GET['code'])) {

    $authUrl = $provider->getAuthorizationUrl();
    $_SESSION['oauth2state'] = $provider->getState();
    header('Location: ' . $authUrl);
    exit;

} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
    unset($_SESSION['oauth2state']);
    exit('Invalid state');

} else {

    $token = $provider->getAccessToken('authorization_code', [
        'code' => $_GET['code']
    ]);

    try {

        $ownerDetails = $provider->getResourceOwner($token);

        printf('Hello %s!', $ownerDetails->getPropertiesValue('nickname'));

    } catch (Exception $e) {

        exit('Something went wrong: ' . $e->getMessage());

    }

    // Use this to interact with an API on the users behalf
    echo $token->getToken();

    // Number of seconds until the access token will expire, and need refreshing
    echo $token->getExpires();
}

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~1164 days

Total

2

Last Release

1279d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25008144?v=4)[William Miroux](/maintainers/wmx32)[@wmx32](https://github.com/wmx32)

---

Top Contributors

[![tunerprime](https://avatars.githubusercontent.com/u/9063204?v=4)](https://github.com/tunerprime "tunerprime (6 commits)")[![wmx32](https://avatars.githubusercontent.com/u/25008144?v=4)](https://github.com/wmx32 "wmx32 (5 commits)")[![JulienCabanes](https://avatars.githubusercontent.com/u/3443052?v=4)](https://github.com/JulienCabanes "JulienCabanes (1 commits)")

### Embed Badge

![Health badge](/badges/cloudi-fi-oauth2-kakao/health.svg)

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

###  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)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[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)[microsoft/kiota-authentication-phpleague

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

153.8M9](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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