2017 © Pedro Peláez
 

library vultr-api-client

PHP API client for api.vultr.com

image

macromindonline/vultr-api-client

PHP API client for api.vultr.com

  • Monday, November 13, 2017
  • by macromindonline
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 22 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PHP API Client for api.vultr.com

Build Status Latest Stable Version Total Downloads Latest Unstable Version License SensioLabsInsight, (*1)

Install using composer

Open a shell, cd to your poject and type:, (*2)

composer require malc0mn/vultr-api-client

or edit composer.json and add:, (*3)

{
    "require": {
        "malc0mn/vultr-api-client": "~1.0"
    }
}

If you want to use the GuzzleHttpAdapter, you will need to add Guzzle 5 or Guzzle 6., (*4)

Usage examples

Guzzle
require 'vendor/autoload.php';

use Vultr\VultrClient;
use Vultr\Adapter\GuzzleHttpAdapter;

// Using Guzzle 5 or 6...
$client = new VultrClient(
    new GuzzleHttpAdapter('your-api-key')
);

$result = $client->metaData()->getAccountInfo();

var_export($result);
CURL
require 'vendor/autoload.php';

use Vultr\VultrClient;
use Vultr\Adapter\CurlAdapter;

// Using regular CURL, courtesy of 'usefulz'
$client = new VultrClient(
    new CurlAdapter('your-api-key')
);

$result = $client->metaData()->getAccountInfo();

var_export($result);

Vultr API documentation

The full API documentation can be found on https://www.vultr.com/api and has been partly added to the PHP DocBlocks companioning the PHP functions that implement the actual calls., (*5)

Credits

The original version of this API is done by usefulz. This version has been forked by integr.io for use in one of our Symfony applications. It has been reworked with extensibility and ease of use in mind., (*6)

The Versions

13/11 2017

dev-master

9999999-dev https://github.com/malc0mn/vultr-api-client

PHP API client for api.vultr.com

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Zach aka usefulz

30/09 2017

1.1.2

1.1.2.0 https://github.com/malc0mn/vultr-api-client

PHP API client for api.vultr.com

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Zach aka usefulz

15/06 2017

1.1.1

1.1.1.0 https://github.com/malc0mn/vultr-api-client

PHP API client for api.vultr.com

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Zach aka usefulz

07/03 2017

1.1.0

1.1.0.0 https://github.com/malc0mn/vultr-api-client

PHP API client for api.vultr.com

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Zach aka usefulz

07/03 2016

1.0.0

1.0.0.0 https://github.com/malc0mn/vultr-api-client

PHP API client for api.vultr.com

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Zach aka usefulz