gboddin/saltapi

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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: 2021-10-08 05:41:26 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"
	},