PHPackages                             sebastian/file-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. [Testing &amp; Quality](/categories/testing)
4. /
5. sebastian/file-filter

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

sebastian/file-filter
=====================

Library for filtering files

1.0.0(3mo ago)143.0M1[1 issues](https://github.com/sebastianbergmann/file-filter/issues)1BSD-3-ClausePHPPHP &gt;=8.4CI passing

Since Apr 22Pushed 1mo agoCompare

[ Source](https://github.com/sebastianbergmann/file-filter)[ Packagist](https://packagist.org/packages/sebastian/file-filter)[ Docs](https://github.com/sebastianbergmann/file-filter)[ GitHub Sponsors](https://github.com/sebastianbergmann)[ Fund](https://liberapay.com/sebastianbergmann)[ RSS](/packages/sebastian-file-filter/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (5)Used By (1)

[![Latest Stable Version](https://camo.githubusercontent.com/347baaaa3da99208602ca4b0fe751f9662c6d895b561b88ac9ce218be83ec352/68747470733a2f2f706f7365722e707567782e6f72672f73656261737469616e2f66696c652d66696c7465722f76)](https://packagist.org/packages/sebastian/file-filter)[![CI Status](https://github.com/sebastianbergmann/file-filter/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/file-filter/actions)[![codecov](https://camo.githubusercontent.com/f49ce3459c680d3a00e3a06172de514bd05e6e3c99ed8bfad24700f805afa381/68747470733a2f2f636f6465636f762e696f2f67682f73656261737469616e626572676d616e6e2f66696c652d66696c7465722f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/sebastianbergmann/file-filter)

sebastian/file-filter
=====================

[](#sebastianfile-filter)

Library for filtering files, extracted from `phpunit/phpunit`.

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require sebastian/file-filter

```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev sebastian/file-filter

```

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance84

Actively maintained with recent releases

Popularity52

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

109d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1089?v=4)[Sebastian Probst Eide](/maintainers/sebastian)[@sebastian](https://github.com/sebastian)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (40 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (24 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sebastian-file-filter/health.svg)

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

###  Alternatives

[structuraphp/structura

Architectural testing for PHP

141.6k5](/packages/structuraphp-structura)

PHPackages © 2026

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