PHPackages                             terminal42/contao-rootcontent - 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. terminal42/contao-rootcontent

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

terminal42/contao-rootcontent
=============================

Allows creating root-page aware content in Contao

2.4.2(6mo ago)35.6k2MITPHPPHP ^8.1CI passing

Since Mar 13Pushed 6mo ago5 watchersCompare

[ Source](https://github.com/terminal42/contao-rootcontent)[ Packagist](https://packagist.org/packages/terminal42/contao-rootcontent)[ GitHub Sponsors](https://github.com/terminal42)[ Fund](https://ko-fi.com/terminal42)[ RSS](/packages/terminal42-contao-rootcontent/feed)WikiDiscussions main Synced 3w ago

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

Root content extension for Contao Open Source CMS
=================================================

[](#root-content-extension-for-contao-open-source-cms)

The extension allows creating root-page aware content in Contao.

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

[](#installation)

Choose the installation method that matches your workflow!

### Installation via Contao Manager

[](#installation-via-contao-manager)

Search for `terminal42/contao-rootcontent` in the Contao Manager and add it to your installation. Apply changes to update the packages.

### Manual installation

[](#manual-installation)

Add a composer dependency for this bundle. Therefore, change in the project root and run the following:

```
composer require terminal42/contao-rootcontent
```

Depending on your environment, the command can differ, i.e. starting with `php composer.phar …` if you do not have composer installed globally.

Then, update the database via the `contao:migrate` command or the Contao install tool.

Usage
-----

[](#usage)

There are multiple features to create root-page aware content.

### Create articles in the root page

[](#create-articles-in-the-root-page)

The extension allows to create articles in the root page. Here's how it works:

1. Edit your **theme** and add custom content sections. Each theme can have multiple sections with root content.
2. Add an article to a root page. Contrary to regular articles, you cannot enter a name but select one of the sections from your theme.
3. Create a root-content module in your theme and select the section you want to output.
4. Place the new module anywhere in your page layout.

### Limit front end modules per root page

[](#limit-front-end-modules-per-root-page)

For each front end module, there is a new setting to limit it for one or multiple root pages. This way you can create language-aware modules. Simply place all of them in your page layout and only the respective ones will be rendered one at a time.

### `` css class per root page

[](#body-css-class-per-root-page)

Add css classes to the root page and they will be inherited through all pages.

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance69

Regular maintenance activity

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.2% 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 ~167 days

Recently: every ~361 days

Total

18

Last Release

183d ago

PHP version history (3 changes)2.0.0PHP ^7.1

2.3.0PHP ^7.4 || ^8.0

2.4PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1073273?v=4)[Andreas Schempp](/maintainers/aschempp)[@aschempp](https://github.com/aschempp)

![](https://avatars.githubusercontent.com/u/481937?v=4)[Yanick Witschi](/maintainers/Toflar)[@Toflar](https://github.com/Toflar)

---

Top Contributors

[![aschempp](https://avatars.githubusercontent.com/u/1073273?v=4)](https://github.com/aschempp "aschempp (30 commits)")[![richardhj](https://avatars.githubusercontent.com/u/1284725?v=4)](https://github.com/richardhj "richardhj (3 commits)")[![zonky2](https://avatars.githubusercontent.com/u/1045318?v=4)](https://github.com/zonky2 "zonky2 (1 commits)")

---

Tags

contentmodulecontaoarticle

### Embed Badge

![Health badge](/badges/terminal42-contao-rootcontent/health.svg)

```
[![Health](https://phpackages.com/badges/terminal42-contao-rootcontent/health.svg)](https://phpackages.com/packages/terminal42-contao-rootcontent)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[contao-community-alliance/dc-general

Universal data container for Contao

1579.5k90](/packages/contao-community-alliance-dc-general)[terminal42/contao-node

Node bundle for Contao Open Source CMS

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

PHPackages © 2026

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