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

ActiveLibrary

ayeo/sniffer
============

1.0.9(6y ago)41.8k↓100%3MITPHP

Since Apr 14Pushed 6y ago3 watchersCompare

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

READMEChangelog (9)Dependencies (1)Versions (12)Used By (0)

About
=====

[](#about)

This is the code sniffer that scans only recently modified lines. Under the hood it uses PHPCS and just filter report to lines changed within particular commit. I have built this simple tool to support my Continuous Integration. It may turns out usefull for others struggling with large legacy code base.

Installation
============

[](#installation)

```
composer require ayeo/sniffer

```

Usage
=====

[](#usage)

From your project root directory type:

```
./vendor/bin/sniff

```

```
./vendor/bin/sniff --standard=/path/to/ruleset.xml

```

Result (example)
================

[](#result-example)

```
File: application/modules/behat_api/src/V1/Model/Producer.php
| 4 | error	| Missing class doc comment
| 4 | error	| Opening brace of a class must be on the line after the definition
| 5 | error	| Spaces must be used to indent lines; tabs are not allowed
| 5 | error	| Line indented incorrectly; expected 4 spaces, found 1
| 8 | error	| Spaces must be used to indent lines; tabs are not allowed
| 8 | error	| Line indented incorrectly; expected 4 spaces, found 1
| 9 | error	| Spaces must be used to indent lines; tabs are not allowed
| 9 | error	| Line indented incorrectly; expected 4 spaces, found 1
| 9 | error	| Spaces must be used for alignment; tabs are not allowed

```

Issues
======

[](#issues)

Feel free to submit issues and enhancement requests.

Contributing
============

[](#contributing)

Everyone welcome

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~111 days

Recently: every ~147 days

Total

10

Last Release

2306d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e19f24a709e451d9017d8748a8f42a03a3974a9ab065aeda950ec96b229d7f4?d=identicon)[ayeo](/maintainers/ayeo)

---

Top Contributors

[![ayeo](https://avatars.githubusercontent.com/u/60191?v=4)](https://github.com/ayeo "ayeo (5 commits)")[![KonradKosowski](https://avatars.githubusercontent.com/u/17218923?v=4)](https://github.com/KonradKosowski "KonradKosowski (2 commits)")[![pbabilas](https://avatars.githubusercontent.com/u/901050?v=4)](https://github.com/pbabilas "pbabilas (1 commits)")

### Embed Badge

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

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

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M459](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)[chromatic/usher

A collection of Robo commands for use on Chromatic projects.

13534.3k1](/packages/chromatic-usher)

PHPackages © 2026

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