Phar-Builder
Build Phar like a boss., (*1)
This is a work in process., (*2)
How to install
You need to Composer and PHP with phar enabled., (*3)
git clone https://github.com/crodas/Phar-Builder.git
cd Phar-Builder
composer install
php cli.php install
Why?
Build phar files should be really simple., (*4)
How?
You need to add a spec.yml
in your project. It needs two parameters (name
and include
). There also some extra parameter like cli
(the script to execute from the console)., (*5)
name: phar-builder.phar
files:
- src: { name: "*.php" }
- vendor: { exclude: ["Tests", "tests"] }
main: cli.php
Todo
- Unit-tests
- Docs
- JSON reader as well