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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nickdjm/oauth2-bnet

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

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

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

1.x-dev(1y ago)035MITPHPPHP ^8.0CI passing

Since May 15Pushed 1y 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

22

—

LowBetter than 21% of packages

Maintenance46

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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

414d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6486142?v=4)[Nick Milton](/maintainers/NickDJM)[@NickDJM](https://github.com/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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[thenetworg/oauth2-azure

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

25310.7M82](/packages/thenetworg-oauth2-azure)[league/oauth2-google

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

42223.4M173](/packages/league-oauth2-google)[stevenmaguire/oauth2-keycloak

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

2306.4M44](/packages/stevenmaguire-oauth2-keycloak)[civicrm/civicrm-core

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

751291.4k41](/packages/civicrm-civicrm-core)[patrickbussmann/oauth2-apple

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

1152.8M12](/packages/patrickbussmann-oauth2-apple)

PHPackages © 2026

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