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

v1.1.0 2020-01-03 16:43 UTC

This package is auto-updated.

Last update: 2022-07-29 01:51:40 UTC


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


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


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(); 


MIT. Please refer to the license file for details.

Brought to you by the LinkORB Engineering team

Check out our other projects at

Btw, we're hiring!