PHPackages                             dms/dms-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. dms/dms-filter

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

dms/dms-filter
==============

DMS Filter provides Annotation based entity filtering.

v6.0.0(1y ago)96478.2k↑15.9%19[4 PRs](https://github.com/rdohms/dms-filter/pulls)2MITPHPPHP ^8.2

Since Mar 16Pushed 1y ago4 watchersCompare

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

READMEChangelog (7)Dependencies (4)Versions (17)Used By (2)

DMS Filter Component
====================

[](#dms-filter-component)

This library provides a service that can be used to filter object values based on annotations

[![Latest Stable Version](https://camo.githubusercontent.com/ff5e7bebacfbc61d5f6285be764df24da8e36ca32754958c49f8e3bd60e482b0/68747470733a2f2f706f7365722e707567782e6f72672f646d732f646d732d66696c7465722f762f737461626c652e706e67)](https://packagist.org/packages/dms/dms-filter) [![Total Downloads](https://camo.githubusercontent.com/283e495dd77eb04f80a3c9fb5a0edfb3be6d4e2a1aba0eb6738859f36f746580/68747470733a2f2f706f7365722e707567782e6f72672f646d732f646d732d66696c7465722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/dms/dms-filter) [![Latest Unstable Version](https://camo.githubusercontent.com/f410c3c4733ced815e2996fb699446069272fe7abe1d81de1a88100712784bfa/68747470733a2f2f706f7365722e707567782e6f72672f646d732f646d732d66696c7465722f762f756e737461626c652e706e67)](https://packagist.org/packages/dms/dms-filter) [![License](https://camo.githubusercontent.com/43d3aac2066fcaa5ae198bd1df20672b5c9f186ddf41c680b91bbee9f76e19e1/68747470733a2f2f706f7365722e707567782e6f72672f646d732f646d732d66696c7465722f6c6963656e73652e706e67)](https://packagist.org/packages/dms/dms-filter) [![SensioLabsInsight](https://camo.githubusercontent.com/46a3c0760937b7b7162fb08f8655df1708250f35559e2d10ddefb79e3e41afd2/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62623766343163332d656537632d343437332d386662662d3830363435336139653839392f6d696e692e706e67)](https://insight.sensiolabs.com/projects/bb7f41c3-ee7c-4473-8fbf-806453a9e899) [![Build Status](https://camo.githubusercontent.com/f306ca66e3e5a723639992df594447d9e5f59f506d028b2b88c7badf116e2667/68747470733a2f2f7472617669732d63692e6f72672f72646f686d732f646d732d66696c7465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/rdohms/dms-filter)[![Unit Tests](https://github.com/rdohms/dms-filter/workflows/Unit%20Tests/badge.svg)](https://github.com/rdohms/dms-filter/workflows/Unit%20Tests/badge.svg)

Install
-------

[](#install)

Use composer to add DMS\\Filter to your app

`composer require dms/dms-filter`

Usage
-----

[](#usage)

Your Entity:

```

```

Filtering:

```

```

Contributing
------------

[](#contributing)

Feel free to send pull requests, just follow these guides:

- Fork
- Code
- Test
    - Just create FilterTestCase and run `phpunit`
- Submit PR

Credits
-------

[](#credits)

This library is inspired by the Symfony 2 Validator component and is meant to work alongside it.

Symfony Validator:

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 82.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 ~457 days

Recently: every ~288 days

Total

11

Last Release

600d ago

Major Versions

v1.1.1 → v2.0.02014-01-17

v2.0.0 → v3.0.02016-03-01

v3.0.0 → v4.0.02021-07-28

v4.0.2 → v5.0.02023-09-05

v5.0.0 → v6.0.02024-09-25

PHP version history (6 changes)1.0.2PHP &gt;=5.3.2

v3.0.0PHP ^5.3.2 || ^7.0

v4.0.0PHP ^7.4 || ^8.0

v4.0.2PHP ^7.4 || ~8.0 || ~8.1

v5.0.0PHP ~8.0 || ~8.1

v6.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/23a593969f579439fd872c91e475453dc72d08aaa98e14d759ac0b8ab707e3bd?d=identicon)[rdohms](/maintainers/rdohms)

---

Top Contributors

[![rdohms](https://avatars.githubusercontent.com/u/94331?v=4)](https://github.com/rdohms "rdohms (85 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![kdadler](https://avatars.githubusercontent.com/u/3234171?v=4)](https://github.com/kdadler "kdadler (3 commits)")[![raphaeldealmeida](https://avatars.githubusercontent.com/u/235028?v=4)](https://github.com/raphaeldealmeida "raphaeldealmeida (3 commits)")[![tobias-trozowski](https://avatars.githubusercontent.com/u/3001979?v=4)](https://github.com/tobias-trozowski "tobias-trozowski (3 commits)")[![maxmilash](https://avatars.githubusercontent.com/u/29126953?v=4)](https://github.com/maxmilash "maxmilash (2 commits)")

---

Tags

annotationsfilteringhacktoberfestsecurityfilterdms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k261.7M7](/packages/clue-stream-filter)[laminas/laminas-filter

Programmatically filter and normalize data and files

9528.0M150](/packages/laminas-laminas-filter)[dms/dms-filter-bundle

DMS Filter Bundle, makes Annotation based entity filtering available in Symfony

78351.6k1](/packages/dms-dms-filter-bundle)[friendsofcake/search

CakePHP Search plugin using PRG pattern

1742.0M37](/packages/friendsofcake-search)[htmlawed/htmlawed

Official htmLawed PHP library for HTML filtering

401.1M9](/packages/htmlawed-htmlawed)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

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