Pterodactyl PHP SDK
  • Documentation
  • Basics
    • Installation
    • SDK initialization
  • API - Application
    • Users
    • Nodes
    • Nodes -> Allocations
    • Locations
    • Servers
    • Servers -> Databases
    • Nests
  • API - Client
    • Basic functions
    • Account
    • Server
    • Server -> Databases
    • Server -> File Manager
    • Server -> Schedules
    • Server -> Network (allocations)
    • Server -> Users
    • Server -> Backups
    • Server -> Startup
    • Server -> Settings
Powered by GitBook
On this page
  1. Basics

SDK initialization

<?php

use PatryQHyper\Pterodactyl\Pterodactyl;

require __DIR__.'/vendor/autoload.php'; //init composer

$client = new Pterodactyl('baseUri', 'apiKey', 'apiType (application/client (default: application))');

// more actions
PreviousInstallationNextUsers

Last updated 3 years ago