Giter Site home page Giter Site logo

wp-cli-php-devtools's Introduction

wp-cli PHP developer tools 0.2.5

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-php-devtools:
cd /path/to/wp-cli/
composer config repositories.wp-cli composer http://wp-cli.org/package-index/
composer require pixline/wp-cli-php-devtools=0.2.5
  • Add wp-cli bin/ folder to $PATH (important!!):
echo 'PATH="/path/to/wp-cli/bin/:$PATH" >> .bash_profile

Changelog

0.2.5

  • wp-cli.yml configuration support (all commands except phpunit)
  • Cleaner inline commands help

Previous releases

  • 0.2.4 (29/11/2013) __invoke implementation
  • 0.2.3 (29/11/2013) First public release

Credits

Copyright (c) 2013+ Paolo Tresso / SWERgroup

Plugin released under the MIT License

wp-cli-php-devtools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wp-cli-php-devtools's Issues

Detect and use already available system-wide commands?

The whole wp-cli thing makes sense as a way to setup a clean environment. Maybe we need to detect if the developer installed the bundled commands some way or another (system-wide composer, PEAR, homebrew, ...), and use them if/when available.

Global "report" command

I think it lack a single "report" command that runs everything with the default settings (at least for now). Given that the bundle provides a few commands, it would help a lot; it also could be used as a pre-commit hook with ease.

Error instalation

composer global require pixline/wp-cli-php-devtools=0.2.5

Return

Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- pixline/wp-cli-php-devtools 0.2.5 requires phpmd/phpmd 1.5.* -> satisfiabl
e by phpmd/phpmd[1.5.0, 1.5.1, 1.5.x-dev] but these conflict with your requireme
nts or minimum-stability.
- pixline/wp-cli-php-devtools 0.2.5 requires pixline/php_codesniffer_wp_stan
dard dev-master -> satisfiable by pixline/php_codesniffer_wp_standard[dev-master
] but these conflict with your requirements or minimum-stability.
- Installation request for pixline/wp-cli-php-devtools 0.2.5 -> satisfiable
by pixline/wp-cli-php-devtools[0.2.5].

Installation failed, reverting ./composer.json to its original content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.