Salty is an easy way to work with SaltStack via PHP.