PHPackages                             contao-community-alliance/coding-standard - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. contao-community-alliance/coding-standard

Abandoned → [phpcq/coding-standard](/?search=phpcq%2Fcoding-standard)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

contao-community-alliance/coding-standard
=========================================

contao community alliance coding standard

06.8k9PHP

Since Dec 4Pushed 11y ago6 watchersCompare

[ Source](https://github.com/contao-community-alliance-archive/coding-standard)[ Packagist](https://packagist.org/packages/contao-community-alliance/coding-standard)[ RSS](/packages/contao-community-alliance-coding-standard/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (9)

[!\[Build Status\](https://travis-ci.org/contao-community-alliance/coding-standard.svg?style=flat-square&amp;label=stable build)](https://travis-ci.org/contao-community-alliance/coding-standard)[![Latest Version tagged](https://camo.githubusercontent.com/31cd063251dc8b8a5ec6267f754c8bd040980684ed17f4fb28f68e67af2e1c26/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f636f64696e672d7374616e646172642e7376673f7374796c653d666c61742d737175617265)](https://github.com/contao-community-alliance/coding-standard/tags)[![Latest Version on Packagist](https://camo.githubusercontent.com/f605cd906fdbabbecbbf56c6b3362510d91a0358f9327aca81866e680eea5296/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f636f64696e672d7374616e646172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/contao-community-alliance/coding-standard)[![Installations via composer per month](https://camo.githubusercontent.com/5a1edc7eee1e0b0f188aefe73b6982f5a7647ff31927ab5a41ba3df3642f80ef/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f636f64696e672d7374616e646172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/contao-community-alliance/coding-standard)

Coding Standards
================

[](#coding-standards)

This repository contains the Contao Community Alliance coding standard definitions and style checker rules.

The rules are for [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) and [phpmd](https://github.com/phpmd/phpmd).

Usage
-----

[](#usage)

The most convenient usage is to use via [CCABS](https://github.com/contao-community-alliance/build-system). Simply put the following into your projects `build.default.properties` file:

```
phpcs.standard=${basedir}/vendor/contao-community-alliance/coding-standard/phpcs/ContaoCommunityAlliance/ruleset.xml
phpmd.ruleset=${basedir}/vendor/contao-community-alliance/coding-standard/phpmd/ruleset.xml

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8672569?v=4)[California College of Arts](/maintainers/cca)[@cca](https://github.com/cca)

---

Top Contributors

[![discordier](https://avatars.githubusercontent.com/u/940331?v=4)](https://github.com/discordier "discordier (10 commits)")[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (1 commits)")

### Embed Badge

![Health badge](/badges/contao-community-alliance-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/contao-community-alliance-coding-standard/health.svg)](https://phpackages.com/packages/contao-community-alliance-coding-standard)
```

###  Alternatives

[nebkam/symfony-traits

Helper trait to ease writing APIs in Symfony

156.7k](/packages/nebkam-symfony-traits)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
