⚠ PharHub will be closed down in early 2023. More information


Install phars via Composer

phpcs 2.3.1

PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.

Package phpcs
URL https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.3.1/phpcs.phar
Downloads 0
Release date
Available since
    "php": ">=5.1.2",
    "ext-tokenizer": "*",
    "ext-xmlwriter": "*"
    "squizlabs/PHP_CodeSniffer": "self.version"

Into a project:

composer require pharhub/phpcs '^2.3.1'

Into a project, but only for development:

composer require --dev pharhub/phpcs '^2.3.1'


composer global require pharhub/phpcs '^2.3.1'

Note: To install any packages from PharHub, you need to add PharHub to your repositories first.
Please see instructions on the home page.