wumx-labs / noxaeapi-sdk-php
Official PHP SDK for the NoxAeApi Minecraft REST API suite and Velocity Network Hub
0.7.0
2026-11-07 00:47 UTC
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Official PHP SDK for the NoxAeApi Minecraft REST API suite and Velocity Network Hub.
📖 Docs: noxapi.noxlydev.xyz
Features
- PHP 8.1+ with strict types and PSR-4 standard autoloading
- Zero external dependencies (built on standard PHP
curlandjsonextensions) - Full module coverage:
- Players, Server, Economy, Leaderboards, LuckPerms, NoxAuth
- Plugins, Worlds, Skills, Identity, Integrations (RankForge, etc.), Misc
- Velocity Hub Node routing support via
$client->hubNode('server-1')
Installation
composer require wumx-labs/noxaeapi-sdk-php
Quick Start
use WumxLabs\NoxAeApi\Client; $client = new Client('your-api-key', 'http://localhost:8080'); // Get online players $players = $client->players->getOnline(); print_r($players); // Server stats $info = $client->server->getInfo(); echo "TPS: " . $info['tps'] . PHP_EOL; // Forward request to specific backend via Velocity Hub $hubNode = $client->hubNode('survival-1'); $survivalPlayers = $hubNode->players->getOnline();
License
MIT © Wumx Labs & NoxAeApi Contributors