This is a command line wrapper around the official PHP-based Imbo client.
Clone the repository, and install dependencies using Composer:
git clone https://github.com/imbo/imboclient-php-cli.git
cd imboclient-php-cli
curl -s https://getcomposer.org/installer | php
php composer.phar install
ImboClientCli requires PHP-5.3.2 or above.
ImboClientCli requires a configuration file and will look for config.yml
in the following directories (in the order specified), and will use the first it finds:
- Current working directory
~/.imboclient/config.yml
/etc/imboclient/config.yml
You may also specify a custom configuration file by using the --config /path/to/config.yml
global option. By doing this the client will not look in any of the above directories (unless the file you specify does not exist).
An example configuration file is included in the package.
Simply run the executable (imboclient.php
) and you will see something like this:
More docs will be added later.