2017 © Pedro Peláez
 

library rancher-api

image

tyldar/rancher-api

  • Tuesday, August 15, 2017
  • by tyldar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

rancher-api

Bundle of PHP classes to interact with Rancher (Container Management System) API., (*1)

Installation

RancherAPI uses compose to make installation easier., (*2)

Install via composer ``` bash composer require tyldar/rancher-api, (*3)


## Usage RancherAPI is incredibly intuitive to use. ### Introduction ```php <?php require 'vendor/autoload.php'; use Tyldar\Rancher\Rancher; try { $rancher = new Rancher("RANCHERHOSTURL", "RANCHERACCESSKEY", "RANCHERSECRETKEY", "PROJECT"); echo json_encode($rancher->containers()->getAll()); } catch(Exception $e) { var_dump($e->getResponse()->getBody()->getContents()); } ?>

The Versions

15/08 2017

dev-master

9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by Avatar tyldar