PHPackages                             kamazee/pr-filter - 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. [Search &amp; Filtering](/categories/search)
4. /
5. kamazee/pr-filter

ActiveLibrary[Search &amp; Filtering](/categories/search)

kamazee/pr-filter
=================

Tool for narrowing code quality tools reporting for pull requests

1.1.1(1mo ago)234.2k—1.2%22MITPHPPHP ^7.2 || ^8.0CI passing

Since Jan 19Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/kamazee/pr-filter)[ Packagist](https://packagist.org/packages/kamazee/pr-filter)[ RSS](/packages/kamazee-pr-filter/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)Dependencies (18)Versions (7)Used By (2)

[![PHP 7.2](https://camo.githubusercontent.com/eabc79bc4764b86c63b471ccaba2992b3793101f7d9659e2d417505274d846b3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e322d3838393242462e7376673f6c6f676f3d706870)](https://php.net)

PR Filter
=========

[](#pr-filter)

Filter checkstyle.xml according to a diff

Usage
-----

[](#usage)

```
phpcs -q --report=checkstyle | sponge phpcs-checkstyle.xml
git diff main > main.diff
vendor/bin/prf filter-checkstyle main.diff phpcs-checkstyle.xml filtered-checkstyle.xml --base-path=$(pwd)
```

### Options

[](#options)

`prf filter-checkstyle [-b|--base-path=] diff infile [outfile]`

ArgumentDescription`--base-path``-b`If set, will be removed from paths in checkstyle.xmlpositional, requireddiffPath to diff filepositional, requiredinfilePath to checkstyle.xml to be filteredpositional, optionaloutfilePath to filtered checkstyle.xml, or will overwrite infile

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance91

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 80.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 ~772 days

Total

5

Last Release

44d ago

Major Versions

0.1.1 → 1.0.02024-04-25

PHP version history (3 changes)0.1.0PHP ^7.1

1.0.0PHP ^7.1 || ^8.0

1.1.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/231518?v=4)[Alexander Kurilo](/maintainers/kamazee)[@kamazee](https://github.com/kamazee)

---

Top Contributors

[![kamazee](https://avatars.githubusercontent.com/u/231518?v=4)](https://github.com/kamazee "kamazee (37 commits)")[![BrianHenryIE](https://avatars.githubusercontent.com/u/4720401?v=4)](https://github.com/BrianHenryIE "BrianHenryIE (7 commits)")[![d1mond](https://avatars.githubusercontent.com/u/4527559?v=4)](https://github.com/d1mond "d1mond (2 commits)")

---

Tags

checkstylephanphpphp7phpcspull-requestphpcsdifffilterpull-requestphancheckstyle

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kamazee-pr-filter/health.svg)

```
[![Health](https://phpackages.com/badges/kamazee-pr-filter/health.svg)](https://phpackages.com/packages/kamazee-pr-filter)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k281.7M9](/packages/clue-stream-filter)[laminas/laminas-filter

Programmatically filter and normalize data and files

9531.1M189](/packages/laminas-laminas-filter)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

31789.1k3](/packages/jbzoo-ci-report-converter)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63127.2k3](/packages/infinum-eightshift-libs)[drupal-code-builder/drupal-code-builder

Code generator for Drupal

27257.3k1](/packages/drupal-code-builder-drupal-code-builder)

PHPackages © 2026

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