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.0(2mo ago)233.3k—3.8%2[1 issues](https://github.com/kamazee/pr-filter/issues)[1 PRs](https://github.com/kamazee/pr-filter/pulls)1MITPHPPHP ^7.2 || ^8.0CI failing

Since Jan 19Pushed 5d 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 yesterday

READMEChangelog (4)Dependencies (12)Versions (6)Used By (1)

[![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

54

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 78.6% 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 ~1002 days

Total

4

Last Release

80d 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 (33 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.7k38.9k](/packages/matomo-matomo)[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k276.5M9](/packages/clue-stream-filter)[laminas/laminas-filter

Programmatically filter and normalize data and files

9530.3M181](/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)

31787.5k2](/packages/jbzoo-ci-report-converter)[outl1ne/nova-input-filter

An input filter for Laravel Nova

241.0M](/packages/outl1ne-nova-input-filter)

PHPackages © 2026

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