PHPackages                             heimrichhannot/contao-enhanced-accordions-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-enhanced-accordions-bundle

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

heimrichhannot/contao-enhanced-accordions-bundle
================================================

This bundle enhances contao accordions.

0.1.1(2y ago)0475LGPL-3.0-or-laterPHPPHP ^8.0

Since Dec 4Pushed 2y ago6 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-enhanced-accordions-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-enhanced-accordions-bundle)[ Docs](https://github.com/heimrichhannot/contao-enhanced-accordions-bundle)[ RSS](/packages/heimrichhannot-contao-enhanced-accordions-bundle/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Enhanced accordions bundle
==========================

[](#enhanced-accordions-bundle)

This bundle enhances the work with contao accordions for template designers and developers.

Features
--------

[](#features)

- add additional variables to accordions templates to create templates groups
- optional bootstrap 5 enhancements for the default templates
- bundles bootstrap 5 accordion templates

Usage
-----

[](#usage)

### Install

[](#install)

Install with composer or contao manager and update your database.

```
composer require heimrichhannot/contao-enhanced-accordions-bundle
```

### Use bootstrap 5 integration

[](#use-bootstrap-5-integration)

[![screenshot.png](docs%2Fimg%2Fscreenshot.png)](docs%2Fimg%2Fscreenshot.png)

In your theme settings, select bootstrap 5 frontend framework and activate the checkbox "Adjust default template". This adds some css classes and markup to make the default work with boostrap 5 javascript component. This is no complete replacement, as the default templates can not completely adjust without overriding for bootstrap 5.

The bundle also provides bootstrap 5 accordion templates, that can be selected as custom template, copied to project or extended in your project templates.

If you extend the templates, there are some adjustments you can make:

```
{% extends "@Contao_HeimrichHannotEnhancedAccordionsBundle/ce_accordionStart_bs5.html.twig" %}

{% set open_first = true %}
{% set titleElement = 'h3' %}
```

```
{% extends "@Contao_HeimrichHannotEnhancedAccordionsBundle/ce_accordionStop_bs5.html.twig" %}
```

```
{% extends "@Contao_HeimrichHannotEnhancedAccordionsBundle/ce_accordionElement_bs5.html.twig" %}

{% set open_first = true %}
{% set titleElement = 'h3' %}
```

### Additional template variables

[](#additional-template-variables)

The bundle adds additional variables to the accordion templates, that can be used to enhance your templates. A accordion group is defined by consecutively accordion start and stop elements OR single accordion elements.

VariableDescription`accordion_parentId` (int)The id of the first element of the accordion group.`accordion_first` (bool)`true` if the element is the first element of the group.`accordion_last` (bool)`true` if the element is the last element of the group.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

2

Last Release

934d 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 (3 commits)")

---

Tags

contaobootstrapfrontendaccordion

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-enhanced-accordions-bundle/health.svg)

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

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

41668.4k162](/packages/codefog-contao-haste)[metamodels/core

MetaModels core

9956.1k68](/packages/metamodels-core)[contao-bootstrap/core

Core of Contao Bootstrap extension

1590.7k17](/packages/contao-bootstrap-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

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

Node bundle for Contao Open Source CMS

3075.6k5](/packages/terminal42-contao-node)[terminal42/contao-folderpage

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

18153.4k10](/packages/terminal42-contao-folderpage)

PHPackages © 2026

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