nitrado / nitrapi-php-lib
PHP SDK for Nitrapi
Installs: 6 810
Dependents: 0
Suggesters: 0
Security: 0
Stars: 17
Watchers: 15
Forks: 10
pkg:composer/nitrado/nitrapi-php-lib
Requires
- php: >=5.5
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ~5.0
- dev-master
- 3.1
- 3.0.2
- 3.0.1
- 3.0
- 2.1
- 2.0
- 1.0
- dev-BD-1645-fix-cakewebsite-ipv6-forwarding
- dev-PG-1784_hide_query_rcon_port_feature_php
- dev-add-timezone
- dev-add-getFeatures-function
- dev-fix-rate-limit-for-admins
- dev-sentry-cleanup
- dev-severity-flag
- dev-restore-backup
- dev-domain-endpoints
- dev-ssl-client-cert-support
- dev-API-531
This package is not auto-updated.
Last update: 2025-10-16 16:02:55 UTC
README
Official PHP based SDK for the Nitrapi RESTful API.
Recommends
- PHP 5.5 or higher
- Composer
Installation
Edit the composer.json and execute composer.phar update
{
"require": {
"nitrado/nitrapi-php-lib": "dev-master",
}
}
Example
<?php require_once '../vendor/autoload.php'; try { $api = new \Nitrapi\Nitrapi("<accesss token>"); var_dump($api->getServices()); } catch(\Exception $e) { var_dump("API Error: " . $e->getMessage()); }