PHPackages                             heimrichhannot/contao-config-element-type-bundle - 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. heimrichhannot/contao-config-element-type-bundle

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

heimrichhannot/contao-config-element-type-bundle
================================================

Contains interface and common config type elements for bundle with config type support

0.2.1(2y ago)03.8k[1 PRs](https://github.com/heimrichhannot/contao-config-element-type-bundle/pulls)3LGPL-3.0-or-laterPHP

Since Aug 19Pushed 2y ago4 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-config-element-type-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-config-element-type-bundle)[ RSS](/packages/heimrichhannot-contao-config-element-type-bundle/feed)WikiDiscussions master Synced 1w ago

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

Contao Config Element Type Bundle
=================================

[](#contao-config-element-type-bundle)

This bundle contains a generic interface, an generic data class and concrete independent implementations for config element types.

Config element types are designed to specify things that can occur multiple times on the same item (e.g. many fields of the same type) and used in [List Bundle](https://github.com/heimrichhannot/contao-list-bundle) and [Reader Bundle](https://github.com/heimrichhannot/contao-reader-bundle).

Setup
-----

[](#setup)

This bundle is a dependency bundle and has no usage as standalone package. If you want to create an extension that uses this bundle, add it to your composer.json file.

Install with composer:

```
composer require heimrichhannot/contao-config-element-type-bundle

```

Usage
-----

[](#usage)

The main content of this bundle is the ConfigElementTypeInterface. Example implementations can be found within the [bundled config element types](src/ConfigElementType/Concrete/).

The ConfigElementTypeInterface has three methods:

- `public static function getType(): string` - Returns an alias for identifying the content element type, typically used in database or translation context.
- `public function getPalette(string $prependPalette, string $appendPalette): string` - Return the contao dca palette. The paremeters can be used if you have default palette fields to prepend or append to the palette.
- `public function applyConfiguration(ConfigElementData $configElementData): ConfigElementResult` - Here the config element type logic is applied. Typically a raw field value is processed and a formatted field value returned.

Real life usage examples can be found in [Reader Bundle](https://github.com/heimrichhannot/contao-reader-bundle) and [List Bundle](https://github.com/heimrichhannot/contao-list-bundle).

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

3

Last Release

879d ago

### Community

Maintainers

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

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (14 commits)")

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-config-element-type-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-config-element-type-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-config-element-type-bundle)
```

###  Alternatives

[metamodels/core

MetaModels core

10156.6k68](/packages/metamodels-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3290.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3078.1k6](/packages/terminal42-contao-node)[heimrichhannot/contao-pwa-bundle

A bundle to provide progressive web app support for contao.

101.2k](/packages/heimrichhannot-contao-pwa-bundle)[markocupic/calendar-event-booking-bundle

Contao Calendar Event Booking Bundle

125.3k1](/packages/markocupic-calendar-event-booking-bundle)

PHPackages © 2026

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