PHPackages                             rareloop/twigcs-ruleset - 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. rareloop/twigcs-ruleset

ActiveLibrary

rareloop/twigcs-ruleset
=======================

Custom TwigCS ruleset

v2.0.1(2y ago)556.5k↑10.5%1MITPHPPHP &gt;=7.2

Since May 20Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Rareloop/twigcs-ruleset)[ Packagist](https://packagist.org/packages/rareloop/twigcs-ruleset)[ RSS](/packages/rareloop-twigcs-ruleset/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

Rareloop Twig Coding Standards
==============================

[](#rareloop-twig-coding-standards)

This is a custom ruleset for [Twigcs](https://github.com/friendsoftwig/twigcs).

It follows the [official Twig coding style](http://twig.sensiolabs.org/doc/coding_standards.html) with the following exceptions:

- Use `lowerCamelCase` variables instead of `snake_case`
- Enforces 1 space inside a hash e.g. `{ key: expr, key: expr }` instead of the default `{key: expr, key: expr}`

Installation
------------

[](#installation)

`composer require rareloop/twigcs-ruleset --dev`

Usage
-----

[](#usage)

`twigcs path/to/files --ruleset \\Rareloop\\Twigcs\\Ruleset\\Rareloop`

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

Every ~483 days

Total

4

Last Release

739d ago

Major Versions

v1.0.1 → v2.0.02021-03-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1554376?v=4)[Rareloop](/maintainers/rareloop)[@Rareloop](https://github.com/Rareloop)

---

Top Contributors

[![joelambert](https://avatars.githubusercontent.com/u/644362?v=4)](https://github.com/joelambert "joelambert (5 commits)")[![adamtomat](https://avatars.githubusercontent.com/u/2631499?v=4)](https://github.com/adamtomat "adamtomat (2 commits)")

### Embed Badge

![Health badge](/badges/rareloop-twigcs-ruleset/health.svg)

```
[![Health](https://phpackages.com/badges/rareloop-twigcs-ruleset/health.svg)](https://phpackages.com/packages/rareloop-twigcs-ruleset)
```

###  Alternatives

[axelerant/drupal-quality-checker

Code quality checking tools for Drupal project.

13197.9k1](/packages/axelerant-drupal-quality-checker)

PHPackages © 2026

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