PHPackages                             heimrichhannot/contao-entity\_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. heimrichhannot/contao-entity\_filter

ActiveContao-module[Search &amp; Filtering](/categories/search)

heimrichhannot/contao-entity\_filter
====================================

This module offers an input type for selecting one or more entities by comfortably 'clicking together' sql-like conditions.

1.1.3(9y ago)0144LGPL-3.0+PHP ~5.4 || ~7.0

Since Dec 13Compare

[ Source](https://github.com/heimrichhannot/contao-entity_filter)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-entity_filter)[ Docs](https://bitbucket.org/heimrichhannot/contao-entity_filter)[ RSS](/packages/heimrichhannot-contao-entity-filter/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (6)Versions (11)Used By (0)

Contao Entity Filter
====================

[](#contao-entity-filter)

This module offers an input type for selecting one or more entities by comfortably "clicking together" sql-like conditions.

[![alt text](./docs/screenshot.png "Demo in the backend")](./docs/screenshot.png)

Features
--------

[](#features)

- "click together" conditions for filtering (aka selecting) arbitrary contao entities
- load existing filter conditions from other records
- display a result list of your filtering right in the contao record's edit view

### Technical instructions

[](#technical-instructions)

This module offers 3 comfortable different functions for adding the widgets mentioned before right to your dca.

*Note: Of course, you can also copy these 3 functions and customize them if they don't suit your needs*

#### Add the entity filter widget to your dca:

[](#add-the-entity-filter-widget-to-your-dca)

```
\HeimrichHannot\EntityFilter\Backend\EntityFilter::addFilterToDca(
    // the name of the field
    'memberConditions',
    // your dca
    'tl_md_recipient_list',
    // the table to be filtered
    'tl_member'
);

```

#### Add a field for copying entity filters from other records:

[](#add-a-field-for-copying-entity-filters-from-other-records)

```
\HeimrichHannot\EntityFilter\Backend\EntityFilter::addFilterCopierToDca(
    // the name of the field
    'filterCopier',
    // your dca
    'tl_recipient_list',
    // the dca where the field values are situated you want to copy (usually the same as your dca)
    'tl_recipient_list',
    // the entity_filter field
    'memberConditions',
    // a custom options_callback -> if left out, array('HeimrichHannot\FieldValueCopier\Backend\FieldValueCopier', 'getOptions') is used
    array('Namespace\SomeClass', 'getOptions')
);

```

#### Add a live-reloaded table for showing the results of your conditions:

[](#add-a-live-reloaded-table-for-showing-the-results-of-your-conditions)

```
\HeimrichHannot\EntityFilter\Backend\EntityFilter::addListToDca(
    // the name of the field
    'memberList',
    // your dca
    'tl_recipient_list',
    // the entity_filter field
    'memberConditions',
    // the table being filtered
    'tl_member',
    // the header fields of the table
    array(
        'title',
        'firstname',
        'lastname',
        'email',
    )
);

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~21 days

Recently: every ~47 days

Total

10

Last Release

3290d ago

PHP version history (2 changes)1.0.0PHP ~5.6 || ^7.0

1.1.2PHP ~5.4 || ~7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![Defcon0](https://avatars.githubusercontent.com/u/1485098?v=4)](https://github.com/Defcon0 "Defcon0 (1 commits)")

---

Tags

filterentitycontaoselectselector

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-entity-filter/health.svg)

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

###  Alternatives

[alnv/catalog-manager

Catalog Manager for Contao CMS

3334.4k12](/packages/alnv-catalog-manager)

PHPackages © 2026

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