Skeleton for a php-cli-app.
Clone or download this repo, then follow the guide in "Rename skeleton".
After that:
# download components
composer install
# build the phar
./build.sh
Theres no fun in keeping the "Skeleton" name right, to change it, you need to change a few files:
- box.json
- bin/skeleton.php (Change App name)
- rename bin/skeleton.php
Thanks to https://moquet.net/blog/distributing-php-cli/
That post (and linked gitbub-repo) is the base of this little skeleton