Skip to content
PHP5 SolusVM Wrapper class
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
class.solusvm.php
example.php

README.md

php-SolusVM-class

PHP5 SolusVM Wrapper class (project moved from http://code.google.com/p/php-solusvm-class/)

Introduction =

php-solusvm is a PHP wrapper class around the SolusVM Client API (http://docs.solusvm.com/client_api) for reading individual VPS status.

How to use?

<?php
// include required files
require_once("class.solusvm.php");

// instantiate class
$svapi = new SolusVM_API($host, $api_secret, $api_key);

// set username
$svapi->info();

// reboot VPS
$svapi->reboot();

// VPS status
$svapi->status();

// similarly $obj-boot() and $obj-shutdown()
?>
You can’t perform that action at this time.