Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 419 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 419 Bytes

saltapi

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"
	},