Download the PHP package wptrt/wpthemereview without Composer

On this page you can find all versions of the php package wptrt/wpthemereview. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of wpthemereview with dependencies

Informations about the package wpthemereview

WPThemeReview Standard for PHP_CodeSniffer


WordPress Themes for which a hosting application has been made for the theme to be hosted in the theme repository on have to comply with a set of requirements before such an application can be approved. Additionally, there are also recommendations for best practices for themes.

This project attempts to automate the code analysis part of the Theme Review Process as much as possible using static code analysis.

PHP_CodeSniffer is the base tool upon which this project is build and is a PHP command-line tool.

This project is a work in progress and passing the checks is no guarantee that your theme will be approved.


The WPThemeReview Standard requires:


The only supported installation method is via Composer.

  1. Make sure you have PHP installed on your system.
  2. If not installed yet, install Composer.

Installing WPThemeReview globally

If you would like to have the WPThemeReview standard available to all projects on your system, you can install it in a central location.

From the command-line, run the following command:

Installing WPThemeReview as a project dependency

If you use Composer to manage dependencies from your project anyway or are considering using it, you can also choose to install the WPThemeReview standard for an individual project.

From the command-line, run the following command from the root directory of your project:


  • The --dev means that WPThemeReview will be installed as a development requirement, not as a requirement for using the Theme.
  • The second package - dealerdirect/phpcodesniffer-composer-installer -, is a Composer plugin which will automatically sort out that PHP_CodeSniffer recognizes the WPThemeReview standard and the various WordPress standards.

Checking your installation was successful

If everything went well, the output should look something like this:

Using the WPThemeReview standard

You can now test your theme code against the WPThemeReview standard by running the following command from the root directory of your theme:

If any issues are found, PHP_CodeSniffer will display a report with all the errors (must fix) and warnings (recommended to fix) for each file.

More information about running PHP_CodeSniffer can be found in the PHP_CodeSniffer Wiki.


See unit testing the standard.



Requires php Version >=5.4
squizlabs/php_codesniffer Version ^3.3.1
wp-coding-standards/wpcs Version ^2.2.0
phpcompatibility/phpcompatibility-wp Version ^2.0

The package wptrt/wpthemereview contains the following files

Loading the files please wait ....