phpcq/coding-standard

PHP code quality project coding standard

Package info

github.com/phpcq/coding-standard

Homepage

pkg:composer/phpcq/coding-standard

Fund package maintenance!

discordier

dmolineus

Statistics

Installs: 39 222

Dependents: 16

Suggesters: 0

Stars: 1

Open Issues: 5

2.1.2 2020-09-24 11:52 UTC

Requires

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause and MIT fd7869b957d89a6f6a99ee3f6af82f813efe1634

This package is auto-updated.

Last update: 2026-06-25 00:34:29 UTC


README

👁 Build Status
👁 Latest Version tagged
👁 Latest Version on Packagist
👁 Installations via composer per month

Coding Standards

This repository contains the PHPCQ coding standard definitions and style checker rules.

The rules are for phpcs and phpmd.

Usage

The most convenient usage is to use via phpcq/phpcq. Simply put the following into your projects build.default.properties file:

phpcs.standard=${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml
phpmd.ruleset=${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml