cookiemc337/virtualizor-php-lib

A Wrapper for the Virtualizor API (Updated version from Bennet Gallein)

1.0.11 2024-04-10 14:49 UTC

This package is auto-updated.

Last update: 2024-05-10 15:01:54 UTC


README

This is a wrapper for the API for Virtualizor.

That Base-client is Forked from https://github.com/bennetgallein/VirtualizorPHP.

Code Complete Recoded. Documentation for this Version of the API can be found here: http://virtualizor.com/admin-api/#virtual-servers . Own Documentation will follow.

Installation

Install this library via composer is pretty easy.

composer require cookiemc337/virtualizor-php-lib

And then you can get started with your project.

Object Description:

Every call starts by Initializing the Virtualizor Object. Once initialized you can use it over and over again.

$virt = new \Virtualizor\Virtualizor("ip", "key", "pass", "port");

ServerInfo

Get some information about the master

$info = $virt->serverInfo();