wanupsml / phing
Apache Ant port for PHP. Fork from phingofficial but with particular improvements. See FORK.md
Installs: 4 033
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 319
Open Issues: 0
Type:project
Requires
- php: >=5.5
Requires (Dev)
- ext-pdo_sqlite: *
- lastcraft/simpletest: @dev
- pdepend/pdepend: 2.x
- pear/console_getopt: v1.4.1
- pear/http_request2: ~2.2
- pear/net_growl: dev-trunk
- pear/pear: dev-master
- pear/pear_exception: ~1.0
- pear/pear_packagefilemanager: dev-trunk
- pear/versioncontrol_git: @dev
- pear/versioncontrol_svn: ~0.5
- pear/xml_serializer: dev-trunk
- phpdocumentor/phpdocumentor: 2.x
- phploc/phploc: ~2.0.6
- phpmd/phpmd: ~2.2
- phpunit/phpunit: ~4.3
- sebastian/git: ~1.0
- sebastian/phpcpd: 2.x
- squizlabs/php_codesniffer: ~2.2
- symfony/yaml: ~2.7
Suggests
- pdepend/pdepend: PHP version of JDepend
- pear/archive_tar: Tar file management class
- pear/versioncontrol_git: A library that provides OO interface to handle Git repository
- pear/versioncontrol_svn: A simple OO-style interface for Subversion, the free/open-source version control system
- phpdocumentor/phpdocumentor: Documentation Generator for PHP
- phploc/phploc: A tool for quickly measuring the size of a PHP project
- phpmd/phpmd: PHP version of PMD tool
- phpunit/php-code-coverage: Library that provides collection, processing, and rendering functionality for PHP code coverage information
- phpunit/phpunit: The PHP Unit Testing Framework
- sebastian/phpcpd: Copy/Paste Detector (CPD) for PHP code
- tedivm/jshrink: Javascript Minifier built in PHP
- dev-master
- 3.0.x-dev
- 2.12.162601
- 2.12.161503
- 2.12.161502
- 2.12.161102
- 2.12.161101
- 2.12.154101
- 2.12.153903
- 2.12.0
- 2.11.0
- 2.10.x-dev
- 2.10.1
- 2.10.0
- 2.9.1
- 2.9.0
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.0
- 2.4.14
- 2.4.13
- 2.4.12
- dev-develop
- dev-release/2.12.162601
- dev-release/2.12.161503
- dev-feature/PA-105_overwriteDates
- dev-release/2.12.161502
- dev-hotfix/PA-96_overwrite
- dev-hotfix/2.12.161103
- dev-hotfix/2.12.161102
- dev-release/2.12.161101
This package is not auto-updated.
Last update: 2024-11-09 17:14:24 UTC
README
Read FORK.md explanation to know why this fork.
(PH)ing (I)s (N)ot (G)NU make; it's a PHP project build system or build tool based on Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP "task" classes make it an easy-to-use and highly flexible build framework.
Features include running PHPUnit and SimpleTest unit tests (including test result and coverage reports), file transformations (e.g. token replacement, XSLT transformation, Smarty template transformations), file system operations, interactive build support, SQL execution, CVS/SVN/GIT operations, tools for creating PEAR packages, documentation generation (DocBlox, PhpDocumentor) and much, much more.
If you find yourself writing custom scripts to handle the packaging, deploying, or testing of your applications, then we suggest looking at Phing. Phing comes packaged with numerous out-of-the-box operation modules (tasks), and an easy-to-use OO model to extend or add your own custom tasks.
Phing provides the following features:
- Simple XML buildfiles
- Rich set of provided tasks
- Easily extendable via PHP classes
- Platform-independent: works on UNIX, Windows, Mac OSX
- No required external dependencies
- Built for PHP5
The Latest Version
Details of the latest version can be found on the Phing homepage https://www.phing.info/.
Supported PHP versions
We aim to keep Phing 2.x compatible with PHP 5.2 and higher. However, as this is getting increasingly hard to test, we encourage users to upgrade to PHP 5.3 or higher.
Installation
- PEAR
The preferred method to install Phing is through PEAR and the Phing PEAR channel. You can install Phing by adding the pear.phing.info channel to your PEAR environment and then installing Phing using the phing channel alias and phing package name:
$ pear channel-discover pear.phing.info
$ pear install [--alldeps] phing/phing
- Composer
Install Phing by adding a dependency to phing/phing to the require-dev or require section of your project's composer.json configuration file, and running 'composer install':
{
"require-dev": {
"phing/phing": "2.*"
}
}
- Phar
Download the Phar archive. The archive can then be executed by running:
$ php phing-latest.phar
Running the (unit) tests
To successfully run all Phing tests, the following conditions have to be met:
- PEAR installed, channel "pear.phing.info" discovered
- Packages "python-docutils" and "subversion" installed
- php.ini setting "phar.readonly" set to "Off"
Then, perform the following steps (on a clone/fork of Phing):
$ composer install
$ cd test
$ ../bin/phing
Documentation
Documentation is available in various formats in the docs/docbook5/en/output directory (generated from DocBook sources located in docs/docbook5/en/source).
For online documentation, you can also visit the Phing website: https://www.phing.info/
Licensing
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
Thank you for using PHING!
Contact
- Twitter: @phingofficial
- Website: https://www.phing.info
- IRC: Freenode, #phing
- GitHub: https://www.github.com/phingofficial/phing
- E-mail: dev-subscribe@phing.tigris.org (mailing list)
Contributing
We welcome contributions! Please keep your pull requests clean and concise: squash commits, don't introduce unnecessary (whitespace) changes, use verbose commit messages.
Phing's source code is formatted according to the PSR-2 standard.
Donations
If you like Phing, we accept donations through Flattr. All donations will be used to help cover the costs for hosting the Phing site.
PhpStorm License
If you are contributing code to the Phing project and want to use PhpStorm for development feel free to ask Ben (bschultz.bb@gmail.com) for our Open Source License.
Proud to use:
Intelligent PHP IDE for coding, testing and debugging with pleasure