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)04831LGPL-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 1w 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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity38

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

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

1581.4k93](/packages/contao-community-alliance-dc-general)[contao/manager-bundle

Provides the Contao Managed Edition

181.3M78](/packages/contao-manager-bundle)[heimrichhannot/contao-pwa-bundle

A bundle to provide progressive web app support for contao.

101.2k](/packages/heimrichhannot-contao-pwa-bundle)[florientr/laravel-gentelella

The Laravel 5.4 framework with Gentelella template

2325.5k](/packages/florientr-laravel-gentelella)[contao/maker-bundle

Allows you to create content elements, modules, hooks and more

1315.2k5](/packages/contao-maker-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)
