PHPackages                             delirius/contao-structure-elements - 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. [Templating &amp; Views](/categories/templating)
4. /
5. delirius/contao-structure-elements

ActiveContao-bundle[Templating &amp; Views](/categories/templating)

delirius/contao-structure-elements
==================================

HTML Struktur Element erstellt jeweils ein Start- und ein Stop-Element anwendbar als Inhaltselement oder als Formularelement. Im Start-Element können HTML-Tag, ID, Klasse und eigene Attribute definiert werden.

1.0.7(9mo ago)11.2k↓50%1GPL-3.0-or-laterPHPPHP ^8.1

Since Mar 17Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/delirius/contao-structure-elements)[ Packagist](https://packagist.org/packages/delirius/contao-structure-elements)[ RSS](/packages/delirius-contao-structure-elements/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

HTML Struktur Element für Contao
================================

[](#html-struktur-element-für-contao)

HTML Struktur Element erstellt jeweils ein Start- und ein Stop-Element anwendbar als **Inhaltselement** oder als **Formularelement**. Im Start-Element können HTML-Tag, ID, Klasse und eigene Attribute definiert werden.

Beim erstellen und speichern vom Start-Element wird automatisch das **Stop-Element generiert** und verknüpft. Die Elemente können wie gewohnt im Contao Backend verschoben, kopiert und als Inhaltselement platziert werden. Wird eine Element (Artikel, Seite, Formular) kopiert, werden die Elemente neu verknüpft. Wird ein Element gelöscht wird das dazugehörige Element ebenfalls gelöscht.

Die Erweiterung eignet sich zum abbilden von Strukturen einer Webseite wie Grid, Button, Card, Dropdown oder ähnliches.

FeldBeschreibungTitelWird für die Darstellung im Backend verwendetFarbeWird für die Darstellung im Backend verwendetHTML-TagHTML Element wie `div`, `span`, `button`, `a`, etc. Erlaubt sind HTML-Tags gemäss den Contao-Einstellungen siehe [Sicherheit](#sicherheit).IDStandard Feld `id` (nur bei Inhaltselementen verfügbar)KlasseStandard Feld `class`HTML-AttributeErgänzende Attribute wie `data-*`, `aria-*`, `title`, `href`, `style`InhaltReiner TextContao
------

[](#contao)

Contao: ^4.13 oder ^5.0
PHP: ^8.1

**Contao Inserttags** werden bei der Frontend-Ausgabe umgewandelt, wie `© {{date::Y}}`.
**E-Mails** werden automatisch erkannt und in Unicode ausgegeben.

Sicherheit
----------

[](#sicherheit)

Um die Sicherheit zu gewährleisten, werden bei der **Frontend-Ausgabe** die HTML-Tags **gefiltert**, gemäss den Contao-Einstellungen für erlaubte HTML-Tags und erlaubte HTML-Attribute. Wenn nötig, müssen spezielle HTML-Tags und HTML-Attribute in den Einstellungen -&gt; Sicherheitseinstellungen hinzugefügt werden.

Beispiel Konfiguration

Erlaubte HTML-Tags:

```

```

Erlaubte HTML-Attribute:

```
iframe | src,style,allowfullscreen
button | type,disabled
a | type,role

```

Screenshots
-----------

[](#screenshots)

### Eingabemaske

[](#eingabemaske)

[![Alt text](docs/structure_start.png?raw=true "Structure element start")](docs/structure_start.png?raw=true)

### Darstellung Contao Backend

[](#darstellung-contao-backend)

[![Alt text](docs/structure_start_buttonbackend.png?raw=true "Structure element backend")](docs/structure_start_buttonbackend.png?raw=true)

### Beispiel Grid

[](#beispiel-grid)

[![Alt text](docs/structure_start_grid.png?raw=true "Structure element grid")](docs/structure_start_grid.png?raw=true)

### Beispiel Formular

[](#beispiel-formular)

[![Alt text](docs/structure_start_formularbackend.png?raw=true "Structure element formular")](docs/structure_start_formularbackend.png?raw=true)

### Beispiel Inserttag

[](#beispiel-inserttag)

[![Alt text](docs/inserttags.png?raw=true "Structure element inserttag")](docs/inserttags.png?raw=true)

### Beispiel Offcanvas

[](#beispiel-offcanvas)

[![Alt text](docs/offcanvas.png?raw=true "Structure element offcanvas")](docs/offcanvas.png?raw=true)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance58

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Recently: every ~152 days

Total

7

Last Release

273d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b346f5067d67d9b143672959d925c26ee5739ab61b9c231da4bc4f200baa25e1?d=identicon)[delirius](/maintainers/delirius)

---

Top Contributors

[![delirius](https://avatars.githubusercontent.com/u/2039398?v=4)](https://github.com/delirius "delirius (64 commits)")

---

Tags

contaoelementgridhtml-attributehtml-tagstructurestrukturwrapperbundlewrappergridstructurecontaoformelementformularhtml-taghtml-attributestrukturinhalt

### Embed Badge

![Health badge](/badges/delirius-contao-structure-elements/health.svg)

```
[![Health](https://phpackages.com/badges/delirius-contao-structure-elements/health.svg)](https://phpackages.com/packages/delirius-contao-structure-elements)
```

###  Alternatives

[qossmic/rich-model-forms-bundle

Provides additional data mapper options that ease the use of the Symfony Form component with rich models.

218278.7k](/packages/qossmic-rich-model-forms-bundle)[kartik-v/yii2-detail-view

Enhanced Yii 2 Detail View widget with special Bootstrap styles, ability to edit data, and more.

701.1M41](/packages/kartik-v-yii2-detail-view)[tales-from-a-dev/flowbite-bundle

A Symfony form theme for Flowbite

86252.8k2](/packages/tales-from-a-dev-flowbite-bundle)[nucleos/antispam-bundle

This bundle provides some basic features to reduce spam in symfony forms.

52105.1k](/packages/nucleos-antispam-bundle)[contao-themes-net/mate-theme-bundle

mate theme bundle for Contao 5

1219.2k1](/packages/contao-themes-net-mate-theme-bundle)

PHPackages © 2026

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