battleyephp / global-ban
PHP BattlEye Global Ban Checker
v1.0.0
2026-03-20 02:22 UTC
Requires
- php: ^8.3
- ext-sockets: *
- battleyephp/guid: ^2.0
Requires (Dev)
- laravel/pint: ^1.22
- pestphp/pest: ^4.4.2
- phpstan/phpstan: ^2.1.42
- rector/rector: ^2.3.9
README
It provides BattlEye Global Ban checker.
You can check if any GUID is banned globally.
Currently only Arma 3 is supported by default, but you can provide Arma 2 OA or DayZ BattlEye hostname with port to check it too.
Installation
Requires PHP 8.3+
Requires ext-sockets
You can install the package via composer:
composer require battleyephp/global-ban
Usage
To check if a Steam account has a global ban:
use BattlEye\GlobalBan\Checker; use BattlEye\Guid\Guid; $checker = new Checker(); $guid = Guid::fromSteamId64(76561198066209976); $ban = $checker->check($guid); if ($ban->exists) { echo sprintf('User is banned: %s', $ban->reason); } else { echo 'User is not banned'; }
Testing
composer test