PHPackages                             elgg/sniffs - 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. elgg/sniffs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

elgg/sniffs
===========

Elgg coding standards

0.1.0(11y ago)19144.9k↓23%7[1 PRs](https://github.com/Elgg/elgg-coding-standards/pulls)1PHP

Since Jul 19Pushed 11mo ago6 watchersCompare

[ Source](https://github.com/Elgg/elgg-coding-standards)[ Packagist](https://packagist.org/packages/elgg/sniffs)[ RSS](/packages/elgg-sniffs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (1)

Elgg coding standards for PHP\_CodeSniffer
==========================================

[](#elgg-coding-standards-for-php_codesniffer)

This contains sniffs to be used with phpcs (PHP\_CodeSniffer).

Installation and Usage
----------------------

[](#installation-and-usage)

- Install [composer](http://getcomposer.org/)
- Install dependencies with `composer install`
- Use the coding standard with `vendor/bin/phpcs --standard=src/Elgg`.
- Get a summary report on the engine with `vendor/bin/phpcs --standard=src/Elgg -l --report=summary `

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~682 days

Total

4

Last Release

2273d ago

Major Versions

0.1.0 → 2.x-dev2017-03-17

2.x-dev → 3.x-dev2019-07-22

3.x-dev → 4.x-dev2020-02-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/4357d0114cd9ba86cc21f1d95eb7999a1bf5823a8f75903e186a273c25aa5f28?d=identicon)[brettp](/maintainers/brettp)

![](https://www.gravatar.com/avatar/188221fa5ea70dd4d13af1d9b839cdaba0cfc56e68bfcb1bde115cc5cea06b17?d=identicon)[ewinslow](/maintainers/ewinslow)

![](https://www.gravatar.com/avatar/a4ac1d6abe137b2a78bd0527b3c1f085be51c6a8f70e2fd81fcd7fac3d8d59bf?d=identicon)[jeabakker](/maintainers/jeabakker)

![](https://www.gravatar.com/avatar/d3582813128e38a271e5872bb2a636fc78010a2185ca42c084f02bc17a54c481?d=identicon)[jdalsem](/maintainers/jdalsem)

![](https://www.gravatar.com/avatar/28a22742e138a9ae95be77eede69c943e2fcf39766d0f5827886f6ddd18743af?d=identicon)[juho-jaakkola](/maintainers/juho-jaakkola)

![](https://www.gravatar.com/avatar/55be67f1fa6d239b8d4b8e2bf01947571c33373a664a4f8b88433177e54ad64e?d=identicon)[beck24](/maintainers/beck24)

---

Top Contributors

[![brettp](https://avatars.githubusercontent.com/u/43375?v=4)](https://github.com/brettp "brettp (18 commits)")[![jeabakker](https://avatars.githubusercontent.com/u/881958?v=4)](https://github.com/jeabakker "jeabakker (15 commits)")[![jdalsem](https://avatars.githubusercontent.com/u/861833?v=4)](https://github.com/jdalsem "jdalsem (12 commits)")[![cash](https://avatars.githubusercontent.com/u/199558?v=4)](https://github.com/cash "cash (12 commits)")[![ewinslow](https://avatars.githubusercontent.com/u/356564?v=4)](https://github.com/ewinslow "ewinslow (7 commits)")[![mrclay](https://avatars.githubusercontent.com/u/170687?v=4)](https://github.com/mrclay "mrclay (3 commits)")[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (2 commits)")[![jumbojett](https://avatars.githubusercontent.com/u/410057?v=4)](https://github.com/jumbojett "jumbojett (1 commits)")

### Embed Badge

![Health badge](/badges/elgg-sniffs/health.svg)

```
[![Health](https://phpackages.com/badges/elgg-sniffs/health.svg)](https://phpackages.com/packages/elgg-sniffs)
```

###  Alternatives

[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[flyeralarm/php-code-validator

A custom coding standard for FLYERALARM

2226.9k6](/packages/flyeralarm-php-code-validator)

PHPackages © 2026

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