PHPackages                             heimrichhannot/contao-frontend-framework-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. [Framework](/categories/framework)
4. /
5. heimrichhannot/contao-frontend-framework-bundle

ActiveContao-bundle[Framework](/categories/framework)

heimrichhannot/contao-frontend-framework-bundle
===============================================

This bundle allows to select a frontend framework in your theme.

0.1.0(2y ago)04821LGPL-3.0-or-laterPHPPHP ^8.0

Since Dec 4Pushed 2y ago6 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Frontend Framework Bundle
=========================

[](#frontend-framework-bundle)

This bundle allows to select a frontend framework in your theme. This option can be used by bundle and templates to adjust for these specific frameworks.

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

[](#installation)

1. Install the bundle with composer or contao manager and update the database afterwards.

    ```
     composer require heimrichhannot/contao-frontend-framework-bundle

    ```

Usage
-----

[](#usage)

Just select the frontend framework in your theme settings. Maybe other bundles will add additional settings for the selected framework. Out of the box this extension has no build in functionality except the framework selection.

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

Use in your bundle
------------------

[](#use-in-your-bundle)

Use the `FrontendFrameworkHelper` to get the selected framework.

```
use HeimrichHannot\FrontendFrameworkBundle\Helper\FrontendFrameworkHelper;

class CustomController {
    private FrontendFrameworkHelper $frontendFrameworkHelper;

    public function myCustomAction()
    {
        if ('bootstrap4' === $this->frontendFrameworkHelper->currentFramework())
        {
            $theme = $this->frontendFrameworkHelper->currentTheme();
            if (true === $theme->custonControlsBs4) {
                // do something
            }
        }
    }
}
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity37

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

Unknown

Total

1

Last Release

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

contaocontao5frameworkcontaobootstrapfrontend

### Embed Badge

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

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

###  Alternatives

[contao-community-alliance/dc-general

Universal data container for Contao

1579.5k90](/packages/contao-community-alliance-dc-general)[florientr/laravel-gentelella

The Laravel 5.4 framework with Gentelella template

2325.5k](/packages/florientr-laravel-gentelella)

PHPackages © 2026

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