nickdjm / oauth2-bnet
Battle.net OAuth 2.0 Client Provider for The PHP League OAuth2-Client.
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nickdjm/oauth2-bnet
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: 2025-12-15 03:11:22 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.