dev-master
9999999-dev http://github.com/mauchede/rancher-apiRancher API is a set of PHP classes for interacting with Rancher
MIT
The Requires
- php >=5.5
- guzzlehttp/guzzle ^6.0
- jms/serializer ^1.0
The Development Requires
api client rancher
Wallogit.com
2017 © Pedro Peláez
Rancher API is a set of PHP classes for interacting with Rancher
Rancher API is a set of PHP classes for interacting with Rancher., (*1)
⚠️ This project is no longer maintained. ⚠️, (*2)
Rancher API can be installed via composer:, (*4)
composer require mauchede/rancher-api
Note: To use the JMS annotation, you may have to configure your autoload. You can find an example in bootstrap.php.dist., (*5)
use Mauchede\RancherApi\Client\Client;
use Mauchede\RancherApi\Resource\Project;
$client = new Client('access_key', 'secret_key');
$project = $client->get('endpoint', Project::class);
$containers = $project->getContainers();
endpoint and the API Keys (access_key and secret_key) can be found in Rancher settings ([Rancher URL]/settings/api)., (*6)
Note: API keys are only available for one project/environment., (*7)
Rancher API is a set of PHP classes for interacting with Rancher
MIT
api client rancher