hcgcloud / pterodactyl-sdk
Pterodactyl PHP SDK
Installs: 11 907
Dependents: 0
Suggesters: 0
Security: 0
Stars: 27
Watchers: 8
Forks: 25
Open Issues: 3
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: ^6.0|^7.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~5.0
This package is auto-updated.
Last update: 2024-10-29 05:46:42 UTC
README
Quick start
For Pterodactyl Panel v1, you may need to install v2
version of this sdk, otherwise some functions may not work properly.
There is no stable version and full documentation for v2
yet, you may need to read the source code to use this sdk.
composer require hcgcloud/pterodactyl-sdk:v2.0.0-alpha.2
To install the SDK in your project you need to require the package via composer:
composer require hcgcloud/pterodactyl-sdk
Then use Composer's autoload unless you are using a framework that support composer autoload:
require __DIR__.'/../vendor/autoload.php';
And finally create an instance of the SDK:
$pterodactyl = new \HCGCloud\Pterodactyl\Pterodactyl(API_KEY_HERE, BASE_URI_HERE);
Then you can call the apis.
Usage
Please check the documentation for more details.
Support
You can get support by going to our Discord server or submitting new issue.
As a third-party API wrapper, We recommend you not asking for help elsewhere, or we may not be able to help you.
License
hcgcloud/pterodactyl-sdk
is licensed under the MIT License (MIT). Please see the
license file for more information.