Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

README.md

infra-sdk

A set of practical utilities to use in your custom PHP-based infra scripts.

query

$data = \Infra\Sdk\Utils::query($graphql); // executes `infra query` and returns the response as an array

getArguments

You can let Infra SDK parse your command line arguments against a docopt definition.

Simply include a file with the exact same name as your script, but with a ".md" file extension, and Infra SDK will extract the docopt definition and parse your command line arguments.

$arguments = \Infra\Sdk\Utils::getArguments(); 

License

MIT. Please refer to the license file for details.

Brought to you by the LinkORB Engineering team


Check out our other projects at linkorb.com/engineering.

Btw, we're hiring!

About

Infra SDK: Utils for your custom PHP-based infra scripts

Resources

License

Packages

No packages published

Languages