PHPackages                             kamelot/code-sniffer - 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. kamelot/code-sniffer

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

kamelot/code-sniffer
====================

Ruleset for phpcodesniffer. (C'est mon premier package composer. C'est mon premier gitflow. C'est mon premier Ruleset. Tout feedback est bien venu

0.2.2(8y ago)015.3k[1 issues](https://github.com/Moosh-be/CodeSniffer/issues)[3 PRs](https://github.com/Moosh-be/CodeSniffer/pulls)LGPL-3.0PHPPHP &gt;=7.0

Since Oct 1Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Moosh-be/CodeSniffer)[ Packagist](https://packagist.org/packages/kamelot/code-sniffer)[ Docs](https://moosh-be.github.io/CodeSniffer/)[ RSS](/packages/kamelot-code-sniffer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (14)Used By (0)

Kamelot Codesniffer
===================

[](#kamelot-codesniffer)

Some custom PHP codesniffer rules

Rule List
=========

[](#rule-list)

@todo would include a ticket/issue id

Examples
--------

[](#examples)

Using report:

```
vendor/bin/phpcs --standard=standard/Kamelot/ruleset.xml --extensions=php \
--encoding=utf-8 -n tests/Kamelot/ok/ --colors
```

Default usage

```
vendor/bin/phpcs --standard=standard/Kamelot/ruleset.xml --extensions=php \
--encoding=utf-8 -n src --colors
```

Testing code
------------

[](#testing-code)

### Run commands

[](#run-commands)

Checking if everything is wrong :-)

```
vendor/bin/phpcs --standard=standard/Kamelot/ruleset.xml \
--extensions=php --encoding=utf-8 -n tests/Kamelot/errors
```

Checking if everything is OK

```
vendor/bin/phpcs --standard=standard/Kamelot/ruleset.xml \
--extensions=php --encoding=utf-8 -n tests/Kamelot/ok
```

### PhpUnit

[](#phpunit)

You can do that through phpunit now

```
vendor/bin/phpunit
```

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

[](#installation)

Installation through Composer

```
composer require kamelot/CodeSniffer

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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 ~8 days

Total

7

Last Release

3101d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a39fa524194b6b2f10ec24e7bfa868179e5531eeb634d53582c95bffb4b773d?d=identicon)[lgnap](/maintainers/lgnap)

![](https://www.gravatar.com/avatar/255c18c7efd068d81fa4c08aa3560c766ab8b4bec8f43fa82b17f516ab8cbb37?d=identicon)[Moosh-be](/maintainers/Moosh-be)

---

Top Contributors

[![Moosh-be](https://avatars.githubusercontent.com/u/388085?v=4)](https://github.com/Moosh-be "Moosh-be (9 commits)")[![lgnap](https://avatars.githubusercontent.com/u/915876?v=4)](https://github.com/lgnap "lgnap (2 commits)")

---

Tags

qagithubjiratodoticket

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kamelot-code-sniffer/health.svg)

```
[![Health](https://phpackages.com/badges/kamelot-code-sniffer/health.svg)](https://phpackages.com/packages/kamelot-code-sniffer)
```

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

598161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[phpmetrics/phpmetrics

Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !

2.6k14.5M299](/packages/phpmetrics-phpmetrics)[php-coveralls/php-coveralls

PHP client library for Coveralls API

51413.7M3.4k](/packages/php-coveralls-php-coveralls)[edgedesign/phpqa

Analyze PHP code with one command.

5641.0M24](/packages/edgedesign-phpqa)[moodlehq/moodle-plugin-ci

Helps running Moodle plugins analysis checks and tests under various CI environments.

612.6M](/packages/moodlehq-moodle-plugin-ci)

PHPackages © 2026

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