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

ActiveLibrary

nickdjm/oauth2-bnet
===================

Battle.net OAuth 2.0 Client Provider for The PHP League OAuth2-Client.

1.x-dev(12mo ago)033MITPHPPHP ^8.0CI passing

Since May 15Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/NickDJM/oauth2-bnet)[ Packagist](https://packagist.org/packages/nickdjm/oauth2-bnet)[ RSS](/packages/nickdjm-oauth2-bnet/feed)WikiDiscussions 1.x Synced 1mo ago

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

Battle.net Provider for OAuth 2.0 Client
========================================

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

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

Requirements
------------

[](#requirements)

The following versions of PHP are supported:

- PHP 8.0
- PHP 8.1
- PHP 8.2
- PHP 8.3

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

[](#installation)

To install, use composer:

```
composer require nickdjm/oauth2-bnet
```

Limitations
-----------

[](#limitations)

Currently, this provider only supports oauth2 authorization to US region accounts.

Usage
-----

[](#usage)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance50

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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

361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97f2c85c4808d8e84883e9ee87da883d5b91fbcb3e5df81407128774852b46b8?d=identicon)[NickDJM](/maintainers/NickDJM)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[league/oauth2-google

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

41721.2M119](/packages/league-oauth2-google)[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)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)

PHPackages © 2026

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