nelson6e65/php-development

This package is abandoned and no longer maintained. No replacement package was suggested.

Global requirements to help in development and testing of PHP applications.

v0.2.0 2016-07-06 19:26 UTC

This package is auto-updated.

Last update: 2021-03-17 04:54:26 UTC


README

Latest Version

PHPUnit latest Version ApiGen latest Version PHP CodeSniffer latest Version

Global packages and CLI tools to be used in PHP development.

CLI Tools

  • PHPUnit (phpunit): The PHP Testing Framework.
  • ApiGen (apigen): Smart and Readable Documentation for your PHP project.
  • PHP CodeSniffer (phpcs, phpcbf): Tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.

Installing

Note: The following instructions asumes that you have composer installed globally.

Global

This installs CLI tools in global PATH to be used directly:

composer global require nelson6e65/php-development
  • phpunit --version
  • apigen --version
  • phpcs --version
  • phpcbf --version

As development requirement

This installs CLI tools as dev requirements to be distributed with your package (see composer install):

composer require --dev nelson6e65/php-development
  • vendor/bin/phpunit --version
  • vendor/bin/apigen --version
  • vendor/bin/phpcs --version
  • vendor/bin/phpcbf --version