dimgraycat/phpirkit

IRKit Device HTTP API Commander

1.0.0 2017-01-02 13:17 UTC

This package is auto-updated.

Last update: 2024-12-24 16:58:04 UTC


README

IRKit Device HTTP API Commander.

License Latest Stable Version Minimum PHP Version Travis

Installation

We distribute a PHP Archive (PHAR) that has all required (as well as some optional) dependencies of PHPIrkit bundled in a single file:

$ wget https://raw.github.com/dimgraycat/php-irkit/master/build/phpirkit.phar

$ chmod +x phpirkit.phar

$ mv phpirkit.phar /usr/local/bin/phpirkit
$ phpirkit config --help
$ mkdir /var/phpirkit
$ mv config.json /var/phpirkit/
$ mv messages.json /var/phpirkit/

$ phpirkit --help
$ phpirkit keys -d /var/phpirkit/
$ phpirkit messages -d /var/phpirkit/ --help

See: Sample Settings

You can also immediately use the PHAR after you have downloaded it, of course:

$ wget https://raw.github.com/dimgraycat/php-irkit/master/build/phpirkit.phar

$ php phpirkit.phar config --help
$ php phpirkit.phar --help