Download the PHP package elnebuloso/phing-commons without Composer
On this page you can find all versions of the php package elnebuloso/phing-commons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elnebuloso/phing-commons
More information about elnebuloso/phing-commons
Files in elnebuloso/phing-commons
Informations about the package phing-commons
phing-commons
About
This is a full delivered build stack using PHING as Build Tool. The Phing Commons Build Stack gives you pre-defined Targets which you can configure through a build.properties file.
Installation
Usage
Create build.xml file in your project root with the following content. To use the Phing Commons, just call /path/to/your/phing-commons-installation/bin/phing
Configuration
If you want to configure the common targets, use a build.properties file to your project root. For local additions or local behaviors add a build.properties.local file. This is an optional file. For global additions add /[home]/phing-commons/build.properties file. This is an optional file. But don't commit build.properties.local to your VCS.
The build.properties files are optional and are loaded when available.
Build Chain
Each called step calls the previous defined step. If running phing init, init calls the clean before. If running phing build, build calls the complete chain.
- build:before
- clean:before
- clean:main
- clean:after
- clean
- init:before
- init:main
- init:after
- init
- test:before
- test:main
- test:after
- test
- bundle:before
- bundle:main
- bundle:after
- bundle
- package:before
- package:main
- package:after
- package
- deploy:before
- deploy:main
- deploy:after
- deploy
- build:main
- build:after
- build
Manipulate the Chain
To manipulate the steps, you have the possibility to overwrite each step in your xml, just like this.
If you want to use predefined chains by phing-commons you can add this as a list to the property: project.chains Separate the chains by ","
- project.chains = php-composer-package
- project.chains = foo,bar,baz
default Chain
In chain, clean:main calls:
- clean.tmp:init
- clean.tmp:before
- clean.tmp:main
- clean.tmp:after
- clean.tmp
php-composer-package Chain
In chain, init:main calls:
- composer.validate:init
- composer.validate:before
- composer.validate:main
- composer.validate:after
- composer.validate
- composer.update:init
- composer.update:before
- composer.update:main
- composer.update:after
- composer.update
In the default chain, test:main calls:
- test.phplint:init
- test.phplint:before
- test.phplint:main
- test.phplint:after
- test.phplint
- test.phpunit:init
- test.phpunit:before
- test.phpunit:main
- test.phpunit:after
- test.phpunit
links
All versions of phing-commons with dependencies
phing/phing Version 2.11.0
phpmd/phpmd Version 2.5.0
pdepend/pdepend Version 2.3.2
phploc/phploc Version 3.0.1
sebastian/phpcpd Version 2.0.4
squizlabs/php_codesniffer Version 2.7.0
apigen/apigen Version 4.1.2
phpunit/phpunit Version 4.8.27
pear/archive_tar Version 1.4.2
abraham/twitteroauth Version 0.7.1
elnebuloso/bundler Version ~9.0
cakephp/cakephp-codesniffer Version 2.1.5
escapestudios/symfony2-coding-standard Version 2.9.1