Phar compiler for PHP CLI tools. Derived from Composer's compile script