gboddin / saltapi
This is a PHP client for talking to the restful endpoint of Salt Stack
0.3
2018-10-11 13:23 UTC
This package is not auto-updated.
Last update: 2025-01-24 21:49:42 UTC
README
This is a PHP client for talking to the restful endpoint of Salt Stack. Very basic functionality for illustrative purposes.
Usage:
$salt = new SaltClient('my.saltapi.com','443','username','password');
$results = $salt->run('*','test.ping');
$results = $salt->jobs($results->jid);
Easily add to your projects with composer:
"require": {
"naegelin/saltapi": "dev-master"
},