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.6k[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 1mo 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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

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

788d 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

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[inspiredminds/contao-wowjs

Integrates WOW.js for Contao content elements and form fields.

1813.0k](/packages/inspiredminds-contao-wowjs)[inspiredminds/contao-glightbox

Contao extension to integrate GLightbox.

1223.3k1](/packages/inspiredminds-contao-glightbox)

PHPackages © 2026

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