Webcreate/Util is a PHP library containing some simple utility classes.
-
Download the
composer.phar
executable or use the installer.$ curl -s https://getcomposer.org/installer | php
-
Create a composer.json defining your dependencies. Note that this example is a short version for applications that are not meant to be published as packages themselves. To create libraries/packages please read the guidelines.
{ "require": { "webcreate/util": "dev-master" } }
-
Run Composer:
php composer.phar install
The Cli class is a small wrapper around Symfony Process component.