Download the PHP package bitwasp/testing-php without Composer
On this page you can find all versions of the php package bitwasp/testing-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitwasp/testing-php
More information about bitwasp/testing-php
Files in bitwasp/testing-php
Package testing-php
Short Description Composer package which includes most common development & testing software for PHP, and a sample build.xml for phing
License
Homepage https://github.com/Bit-Wasp/testing-php
Informations about the package testing-php
testing-php
Composer package for PHP unit testing tools, using Phing for Jenkins or local development Includes:
- pdepend
- phpmd
- phpunit
- phpcs / phpcbf
Installation:
This package should be installed via composer, which takes care of loading dependencies appropriate for your build.
composer require bitwasp/testing-php
or add it to your composer.json:
Usage:
Build targets can be run by calling: phing <target>
Review build.xml for the targets you can run against your code.
Import this build script:
The simplest way to get started is to import this projects build.xml file in your own build.xml. The only thing you need to change here is YOUR-PACKAGE-NAME. The rest of the file simply configures the binary tools directory, which you must change if you keep them somewhere other than the composer default (vendor/bin) The builddir should be kept the same.
Or roll your own:
Refer to the build.xml, or the documentation of the respective tools. You can import the default build.xml and extend it with your own functionality as required, or take whatever interests you.
All versions of testing-php with dependencies
squizlabs/php_codesniffer Version 2.*
phpmd/phpmd Version @stable
phpunit/phpunit Version @stable