crodas / phar-builder
Build Phar like a boss
dev-master
2016-03-31 08:48 UTC
Requires
- crodas/autoloader: ^0.1.16
- crodas/cli: ^0.1
- crodas/file-util: >=0.1.14
- crodas/notoj: >=1.0.6
- symfony/finder: ^2.7 | ^3.0
- symfony/process: ^2.7 | ^3.0
- symfony/yaml: ^2.7 | ^3.0
This package is auto-updated.
Last update: 2024-12-12 19:37:59 UTC
README
Build Phar like a boss.
This is a work in process.
How to install
You need to Composer and PHP with phar enabled.
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.
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).
name: phar-builder.phar files: - src: { name: "*.php" } - vendor: { exclude: ["Tests", "tests"] } main: cli.php
##Todo
- Unit-tests
- Docs
- JSON reader as well