nickdjm / oauth2-bnet
Battle.net OAuth 2.0 Client Provider for The PHP League OAuth2-Client.
1.x-dev
2025-05-15 01:55 UTC
Requires
- php: ^8.0
- ext-json: *
- league/oauth2-client: ^2.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^11
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2026-03-15 03:56:43 UTC
README
This package provides Battle.net OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Requirements
The following versions of PHP are supported:
- PHP 8.0
- PHP 8.1
- PHP 8.2
- PHP 8.3
Installation
To install, use composer:
composer require nickdjm/oauth2-bnet
Limitations
Currently, this provider only supports oauth2 authorization to US region accounts.
Usage
Usage is the same as The League's OAuth client, using \Nickdjm\OAuth2\Client\Provider\Bnet as the provider.