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)19161.1k↑354.1%7[1 PRs](https://github.com/Elgg/elgg-coding-standards/pulls)1PHP

Since Jul 19Pushed 1y 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 2d 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

44

—

FairBetter than 90% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community30

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

2319d 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://avatars.githubusercontent.com/u/738363?v=4)[Matt Beckett](/maintainers/beck24)[@beck24](https://github.com/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

[humanmade/coding-standards

Human Made Coding Standards

160443.1k59](/packages/humanmade-coding-standards)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[mediawiki/mediawiki-codesniffer

MediaWiki CodeSniffer Standards

343.2M444](/packages/mediawiki-mediawiki-codesniffer)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)[nette/coding-standard

41937.1k19](/packages/nette-coding-standard)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20280.7k20](/packages/shopsys-coding-standards)

PHPackages © 2026

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