PHPackages                             flume/flume-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. flume/flume-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

flume/flume-php
===============

Filter Logic Unification &amp; Mapping Engine

00PHPCI passing

Since Oct 19Pushed 8mo agoCompare

[ Source](https://github.com/ThomasMeschke/flume-php)[ Packagist](https://packagist.org/packages/flume/flume-php)[ RSS](/packages/flume-flume-php/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Flume - Filter Logic Unification &amp; Mapping Engine
=====================================================

[](#flume---filter-logic-unification--mapping-engine)

Compose Logic - let it flow.
----------------------------

[](#compose-logic---let-it-flow)

### 💡 What is Flume?

[](#-what-is-flume)

Flume is a universal framework to define, combine and interpret filter logic. Write your filter once, use it everywhere: in SQL, JSON, APIs or custom evaluators.

The Core of Flume are the easy to grasp logical components (e.g. AndFilter, OrFilter, EqualityFilter, GreaterThanFilter and more) you can combine as you like and interpret as you like using custom compilers.

### 🧱 Example Setup

[](#-example-setup)

Simple setup in PHP:

```
// e.g. a filter representing (age > 18) AND (country = 'US')

$filter = new AndFilter([
    new GreaterThanFilter('age', 18),
    new EqualsFilter('country', 'DE')
]);

// used with the SQL Filter Expression Compiler:
$compiler = new SqlFilterExpressionCompiler();
$sql = $compiler->compile($filter);

echo $sql;
// => "(age > 18) AND (country = 'DE')"
```

### Installation

[](#installation)

#### Via Composer

[](#via-composer)

```
composer require flume/flume-php
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance42

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/00c73203c907436052fefb3f3a6ac6c62f246185621f6f61ae123973b3547ba6?d=identicon)[Thomas Meschke](/maintainers/Thomas%20Meschke)

---

Top Contributors

[![ThomasMeschke](https://avatars.githubusercontent.com/u/15939458?v=4)](https://github.com/ThomasMeschke "ThomasMeschke (5 commits)")

### Embed Badge

![Health badge](/badges/flume-flume-php/health.svg)

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

###  Alternatives

[koehlersimon/slug

Helps you managing the URL slugs of your TYPO3 site

2965.7k](/packages/koehlersimon-slug)[mremi/contact-bundle

Implementation of a contact form for Symfony2

2712.6k2](/packages/mremi-contact-bundle)

PHPackages © 2026

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