Download the PHP package vizuaalog/pterodactyl-php without Composer

On this page you can find all versions of the php package vizuaalog/pterodactyl-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pterodactyl-php

Pterodactyl PHP

Pterodactyl PHP is an unofficial PHP API client for the Pterodactyl game panel. It offers an object orientated approach with a 'smarter' way of performing updates. This package was primarily written for the needs of a project, but I have tried to keep it as generic as I can to offer flexibility for others to use it as well.

This has been tested with Pterodactyl 0.7.16

The code has been documented so any good IDE should be able to help with autocompletion.

Installation

Installation is very easy thanks to composer. Simply run composer install vizuaalog/pterodactyl-php.

Usage

This assumes you have setup composer within your project to allow for the use statements.

Everything starts with the primary Pterodactyl class:

All of the values provided to a create or update method follow the exact requirements of the Pterodactyl API and it's advised to look at the documentation for this.

Update methods called directly on a resource will help where possible and prefill any required fields that you do not pass. E.g. only wanting to update the name of the server - Pterodactyl requires more than just the name be provided in the request, so this is done behind the scenes.

Some methods have two different variants, the first is if you already have the resource object, helps with readability. The second is if you only have an id and do not want to get the resource details first.

Servers

Below are the methods available for managing servers.

User

Below are the methods available for managing users.

Nodes

Below are the methods available for managing nodes.

Locations

Below are the methods available for managing locations.

Nests/Eggs

Below are the methods available for managing nests and eggs.

Exceptions


All versions of pterodactyl-php with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ~6.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vizuaalog/pterodactyl-php contains the following files

Loading the files please wait ....