library drizzle
A Docker API library built on top of Guzzle.
johnsn/drizzle
A Docker API library built on top of Guzzle.
- Saturday, November 2, 2013
- by taion
- Repository
- 1 Watchers
- 0 Stars
- 2 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
drizzle
Stable:
Dev:
, (*1)
A simple docker remote api built for packagist ontop of guzzle., (*2)
Example
<?php
require_once __DIR__ . "/vendor/autoload.php";
use Johnsn\Drizzle\Drizzle;
//$endpoint = 'http://127.0.0.1:4243', $version = 'v1.6'
$drizzle = new Drizzle();
$drizzle->connect();
//Return the current docker version
$data = $drizzle->version();
/**
* $data:
* array(2) {
* ["status"]=>
* int(200)
* ["data"]=>
* array(3) {
* ["Version"]=>
* string(5) "0.6.4"
* ["GitCommit"]=>
* string(7) "2f74b1c"
* ["GoVersion"]=>
* string(7) "go1.1.2"
* }
* }
*/
var_dump($data);
dev-dev
dev-dev
A Docker API library built on top of Guzzle.
Sources
Download
MIT
The Requires
The Development Requires
dev-master
9999999-dev
A Docker API library built on top of Guzzle.
Sources
Download
MIT
The Requires
The Development Requires