Skip to content

Developer tools wp-cli commands bundle: phpcpd, phpcs, phpdcd, phploc, phpmd, phpunit

Notifications You must be signed in to change notification settings

swergroup/wp-cli-php-devtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-cli devtools

Build Status Support

Useful commands/wrappers around common development and test utilities:

Also in the bundle a single command to run every command at once:

  • phpreport -- Run phpcpd + phpcs + phpdcd + phploc + phpmd + phpunit over a single plugin/theme

Work in progress:

  • minify -- Combines and minifies JavaScript and CSS files via YUI Compressor.
  • phpdoc -- Generate project documentation via phpDocumentor.
  • phpcov -- Measure and report code testing coverage via PHP_CodeCoverage.

System Requirements

  • PHP >=5.4
  • Composer
  • wp-cli

Setup

  • Install wp-cli
  • Install wp-cli-devtools
cd /path/to/wp-cli/
composer require pixline/wp-cli-devtools=dev-master
  • Add wp-cli bin/ folder to $PATH (important!!):
echo 'PATH="/path/to/wp-cli/bin/:$PATH" >> .bash_profile

License

Copyright (c) 2013+ Paolo Tresso [email protected]

Plugin released with the MIT License

About

Developer tools wp-cli commands bundle: phpcpd, phpcs, phpdcd, phploc, phpmd, phpunit

Resources

Stars

Watchers

Forks

Packages

No packages published