PHPackages                             ubc/ctlt-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. [Testing &amp; Quality](/categories/testing)
4. /
5. ubc/ctlt-coding-standard

ActiveLibrary[Testing &amp; Quality](/categories/testing)

ubc/ctlt-coding-standard
========================

CTLT PHP CodeSniffer Coding Standard

1.0(11y ago)1489MIT

Since Jul 29Pushed 11y ago26 watchersCompare

[ Source](https://github.com/ubc/CTLT-PHP-coding-standard)[ Packagist](https://packagist.org/packages/ubc/ctlt-coding-standard)[ RSS](/packages/ubc-ctlt-coding-standard/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

CTLT PHP CodeSniffer Coding Standard
====================================

[](#ctlt-php-codesniffer-coding-standard)

A code standard based on [Symfony 2 coding standards](http://symfony.com/doc/current/contributing/code/standards.html).

Installation (Composer)
-----------------------

[](#installation-composer)

1. [Install composer](https://getcomposer.org/download/)
2. Add the dependency to composer.json:

    ```
    {
        "require-dev": {
            "ubc/ctlt-coding-standard": "~1.0",
        }
    }
    ```
3. Install dependencies

    composer update
4. Use it

    phpcs --standard=vendor/ubc/ctlt-coding-standard/ruleset.xml --runtime-set installed\_paths vendor/m6web/symfony2-coding-standard src/\*

Or add the following Phing task:

```

```

Installation (Pear)
-------------------

[](#installation-pear)

1. Install phpcs:

    ```
     pear install PHP_CodeSniffer

    ```
2. Find your PEAR directory:

    ```
     pear config-show | grep php_dir

    ```
3. Copy, symlink or check out this repo and Symfony2 coding standard to the phpcs `Standards` directory:

    ```
     cd /path/to/pear/PHP/CodeSniffer/Standards
     git clone git://github.com/opensky/Symfony2-coding-standard.git Symfony2
     git clone git://github.com/ubc/CTLT-PHP-coding-standard.git CTLT

    ```
4. Set CTLT as your default coding standard:

    ```
     phpcs --config-set default_standard CTLT

    ```
5. ...
6. Profit!

    ```
     cd /path/to/my/project
     phpcs
     phpcs path/to/my/file.php

    ```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b2967b2bb74961a49e294aa39aff74c15698f2b09aae1d5557cb986a03da13a?d=identicon)[compass](/maintainers/compass)

---

Top Contributors

[![xcompass](https://avatars.githubusercontent.com/u/465548?v=4)](https://github.com/xcompass "xcompass (4 commits)")

---

Tags

phpcsSymfony2standardcodesnifferctlt

### Embed Badge

![Health badge](/badges/ubc-ctlt-coding-standard/health.svg)

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

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[escapestudios/symfony2-coding-standard

CodeSniffer ruleset for the Symfony 2+ coding standard

40611.1M275](/packages/escapestudios-symfony2-coding-standard)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k94](/packages/consistence-coding-standard)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[phpmyadmin/coding-standard

phpMyAdmin PHP\_CodeSniffer Coding Standard

201.2M7](/packages/phpmyadmin-coding-standard)[typo3-ci/typo3sniffpool

This repository contains custom sniffs which are compatible with the PHP\_CodeSniffer. Understand this package as a sniff pool. It contains all custom sniffs for the TYPO3 project.

2336.5k3](/packages/typo3-ci-typo3sniffpool)

PHPackages © 2026

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