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

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

deminoth/oauth2-naver
=====================

Naver provider for league/oauth2-client

v0.1(11y ago)14421MITPHPPHP &gt;=5.5.0

Since Dec 29Pushed 11y ago1 watchersCompare

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

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

oauth2-naver
============

[](#oauth2-naver)

Naver provider for league/oauth2-client
---------------------------------------

[](#naver-provider-for-leagueoauth2-client)

To install, use composer:

```
composer require deminoth/oauth2-naver
```

Usage is the same as the league's OAuth client, using `\Deminoth\OAuth2\Client\Provider\Naver` as the provider. For example:

```
$provider = new \Deminoth\OAuth2\Client\Provider\Naver([
    'clientId' => "YOUR_CLIENT_ID",
    'clientSecret' => "YOUR_CLIENT_SECRET",
    'redirectUri' => "http://your-redirect-uri"
]);

if (isset($_GET['code']) && $_GET['code']) {
    $token = $this->provider->getAccessToken("authorizaton_code", [
        'code' => $_GET['code']
    ]);

    $user = $this->provider->getUserDetails($token);

    // $user->uid = [ encoded Naver ID ]
    // $user->nickname = [ Naver nickname ]
    // $user->imageUrl = [ Profile Image ]
    // $user->email = [ ID@naver.com ]
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

4150d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40f312665cb7e4183b6ee2617c4d6513e98a1053d3c74812fe00a45ec44feaee?d=identicon)[deminoth](/maintainers/deminoth)

---

Top Contributors

[![deminoth](https://avatars.githubusercontent.com/u/495412?v=4)](https://github.com/deminoth "deminoth (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)
