PHPackages                             imi/imi\_conditional\_content - 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. imi/imi\_conditional\_content

ActiveContao-module[Utility &amp; Helpers](/categories/utility)

imi/imi\_conditional\_content
=============================

Display content based on conditions

1.0.2(10y ago)232[4 issues](https://github.com/iMi-digital/imi_conditional_content/issues)GPL2PHPPHP &gt;=5.3

Since Jul 30Pushed 1y ago2 watchersCompare

[ Source](https://github.com/iMi-digital/imi_conditional_content)[ Packagist](https://packagist.org/packages/imi/imi_conditional_content)[ Docs](http://www.imi-digital.de)[ RSS](/packages/imi-imi-conditional-content/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Contao Module imi\_conditional\_content
=======================================

[](#contao-module-imi_conditional_content)

Display content on based on conditions

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

[](#installation)

Install the module as usual using the composer client with the module name `imi/imi_conditional_content` in the backend.

Use
---

[](#use)

The module adds the field "condition" to content elements and modules. Use PHP code to specify in which cases the content should be displayed. You might want to set the cache time of affected pages low enough, so that your setting has an effect. - see also #3

Security
--------

[](#security)

Be aware that every content editor with access to the "condition" field can inject any PHP code.

About Us
========

[](#about-us)

[iMi digital GmbH](http://www.imi.de/) offers Contao related open source modules. If you are confronted with any bugs, you may want to open an issue here.

In need of support or an implementation of a modul in an existing system, [free to contact us](mailto:digital@iMi.de). In this case, we will provide full service support for a fee.

Of course we provide development of closed-source moduls as well.

Contao Modul imi\_conditional\_content
======================================

[](#contao-modul-imi_conditional_content)

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

[](#installation-1)

Installieren Sie das Modul mit dem Composer Client. Der Modulname lautet `imi/imi_conditional_content`

Benutzung
---------

[](#benutzung)

Das Modul fügt ein zusätzliches Feld "Bedingung" zu Content Elementen und Modulen hinzu. Geben Sie hier PHP Code ein, um zu definieren, in welchen Fällen der Block angezeigt werden soll. Setzen Sie ggf. die Cache-Zeit für die betroffenen Seiten herab, damit die Einstellung Auswirkungen hat.

Über iMi digital
================

[](#über-imi-digital)

[iMi digital GmbH](http://www.imi.de/) bietet eine breite Auswahl an verschiedenen Open-Source-Module für Contao an. Beim Auftreten von Fragen oder Bugs kann hier sehr gerne ein Thread geöffnet werden.

[Kontaktieren Sie uns](mailto:digital@iMi.de) gerne, wenn Sie Support für die Implementierung eines Moduls in ein bereits bestehendes Shop-System benötigen.In diesem Fall bieten wir einen kostenpflichtigen Full-Service-Support an.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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 ~52 days

Total

3

Last Release

3841d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e83b21f6b852a0a527372174187cc61c74cbbfbdb34df74816ef77736224fff?d=identicon)[imi](/maintainers/imi)

---

Top Contributors

[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (6 commits)")

---

Tags

hacktoberfestcontaometamodelschangelanguage

### Embed Badge

![Health badge](/badges/imi-imi-conditional-content/health.svg)

```
[![Health](https://phpackages.com/badges/imi-imi-conditional-content/health.svg)](https://phpackages.com/packages/imi-imi-conditional-content)
```

PHPackages © 2026

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