php >= 5.3.3php5-curl >= 5.3.3
This project uses composer to handle dependencies. Use php composer.phar install to install everything after checking out the source.
Libraries not managed by Composer should go in the lib/ folder.
The application can be packaged as a PHP Archive (phar). Executing the following command will generate the archive:
php build-tools/phar.php [output-file]
By default, the resulting file will be placed in the build/ folder, but this can be changed via the optional output-file parameter.
Debug logging can be printed using BitSensor\Util\Log::d($msg),
this will only be printed when running in debug mode, activated by adding $debug to the global scope like this:
global $debug;
This should be done in a test script and not in the actual source.