Download the PHP package cyberspectrum/pharpiler without Composer
On this page you can find all versions of the php package cyberspectrum/pharpiler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cyberspectrum/pharpiler
More information about cyberspectrum/pharpiler
Files in cyberspectrum/pharpiler
Package pharpiler
Short Description Creates a phar from any composer based project - highly configurable
License MIT
Informations about the package pharpiler
What is Pharpiler?
Pharpiler is a simple, yet highly configurable, command line tool to compile composer based php projects into a phar file.
Why Pharpiler?
I (@discordier) got tired of writing custom compile scripts for each and every phar project I was developing over and over again which mostly consisted of copy&paste code from each project. Hence there definately was need for reduction of code duplication and so Pharpiler was born.
How to use?
In your project run composer require --dev cyberspectrum/pharpiler
and create
a .pharpiler.yml
in your project root.
Configuration
The .pharpiler.yml
allows for many configuration options, have a look at the
configuration
of Pharpiler itself in this repository (yes, Pharpiler compiles itself).
Within the configuration you may use certain parameters.
You may define own parameters in the root level to reduce recurrences. Example:
However, Pharpiler registers some parameters for each package to ease configuration.
Package root dir: %package:[vendor]/[package-name]%
Package version: %version:[vendor]/[package-name]%
Package release date: %date:[vendor]/[package-name]%
All versions of pharpiler with dependencies
psr/log Version ~1.0
symfony/config Version ~2.7 | ~3.0 | ~4.0
symfony/console Version ~2.7 | ~3.0 | ~4.0
symfony/finder Version ~2.8 | ~3.0 | ~4.0
symfony/dependency-injection Version ~2.7 | ~3.0 | ~4.0
symfony/process Version ~2.7 | ~3.0 | ~4.0
symfony/yaml Version ~2.7 | ~3.0 | ~4.0