PHPackages                             contao-bootstrap/grid - 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. contao-bootstrap/grid

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

contao-bootstrap/grid
=====================

Bootstrap grid component

3.1.1(4d ago)480.6k↓55.1%14[1 issues](https://github.com/contao-bootstrap/grid/issues)2LGPL-3.0-or-laterPHPPHP ^8.2CI passing

Since Jul 18Pushed 4w ago1 watchersCompare

[ Source](https://github.com/contao-bootstrap/grid)[ Packagist](https://packagist.org/packages/contao-bootstrap/grid)[ Fund](https://contao-bootstrap.de/mitmachen.html)[ GitHub Sponsors](https://github.com/dmolineus)[ RSS](/packages/contao-bootstrap-grid/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (34)Versions (44)Used By (2)

Contao-Bootstrap Grid Component
===============================

[](#contao-bootstrap-grid-component)

[![Version](https://camo.githubusercontent.com/1cdfda1346b9a815e86a431a28e0dd3698c3da1c4103023b59358eaef79b1942/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74616f2d626f6f7473747261702f677269642e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d4c6174657374)](http://packagist.org/packages/contao-bootstrap/grid)[![GitHub issues](https://camo.githubusercontent.com/1113d3f074e54862fb7f18ef88108cb6fe489b665b0be5f4d93a1a12f37ea58f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f636f6e74616f2d626f6f7473747261702f677269642e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/contao-bootstrap/grid/issues)[![License](https://camo.githubusercontent.com/c44732bbbe176d2b31d0a1f52d0b65c395f758fecfe435e158e9b94f7bc831be/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6e74616f2d626f6f7473747261702f677269642e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d4c6963656e7365)](http://packagist.org/packages/contao-bootstrap/grid)[![Build Status](https://camo.githubusercontent.com/aa1faa4b5e76fefc87bc6b6c7ae6866a32862529e91e613a57a8438076f1d1c1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636f6e74616f2d626f6f7473747261702f677269642f636f6e74616f2d626f6f74737472612d677269643f6c6f676f3d676974687562616374696f6e73266c6f676f436f6c6f723d253233666666267374796c653d666f722d7468652d6261646765)](https://github.com/contao-bootstrap/grid/actions)[![Downloads](https://camo.githubusercontent.com/96b939b5fba83cc8eba9fc42cd806c12767cc5c90fdc5f8ad8732c3e5129f03b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6e74616f2d626f6f7473747261702f677269642e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d446f776e6c6f616473)](http://packagist.org/packages/contao-bootstrap/grid)

This extension provides Bootstrap 5 grid tools for Contao CMS.

Features
--------

[](#features)

- Manage grid definition in your theme settings
- Content elements
- Form elements
- Grid module
- Import/Export with your theme settings

Changelog
---------

[](#changelog)

See [changelog](CHANGELOG.md)

Requirements
------------

[](#requirements)

- PHP ^8.1
- Contao ^4.13 || ^5.3

Install
-------

[](#install)

### Managed edition

[](#managed-edition)

When using the managed edition it's pretty simple to install the package. Just search for the package in the Contao Manager and install it. Alternatively you can use the CLI.

```
# Using the contao manager
$ php contao-manager.phar.php composer require contao-bootstrap/grid ^3.0

# Using composer directly
$ php composer.phar require contao-bootstrap/grid ^3.0
```

### Symfony application

[](#symfony-application)

If you use Contao in a symfony application without contao/manager-bundle, you have to register following bundles manually:

```
class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
                        // ...
            new \ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
            new \ContaoCommunityAlliance\MetaPalettes\CcaMetaPalettesBundle(),
            new \Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle(),
            new \Mvo\ContaoGroupWidget\MvoContaoGroupWidgetBundle(),
            new \ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
            new \ContaoBootstrap\Grid\ContaoBootstrapGridBundle()
        ];
    }
}
```

Migration
---------

[](#migration)

To automatically migrate your grid from Start- and Stop-Wrappers to nested fragments, you have to enable the migration via the bundle configuration. Create or extend the file `config/packages/contao_bootstrap_grid.yaml` in your Symfony application:

```
contao_bootstrap_grid:
    enable_wrapper_migration: true
```

Afterwards you can run the migration in the Contao Manager or via CLI:

```
$ php vendor/bin/contao-console contao:migrate
```

Deprecated
----------

[](#deprecated)

The legacy content elements `bs_gridStart`, `bs_gridStop` and `bs_gridSeparator` are deprecated and will be removed in a future major version. Use `bs_grid_wrapper` instead.

To disable the legacy elements now, set the following configuration:

```
contao_bootstrap_grid:
    enable_legacy_elements: false
```

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance92

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.3% 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 ~90 days

Recently: every ~124 days

Total

37

Last Release

4d ago

Major Versions

2.4.3 → 3.0.02023-06-09

PHP version history (5 changes)2.0.0-alpha1PHP &gt;=5.6.0

2.0.0-beta1PHP &gt;=7.1

2.4.0PHP ^7.4 || ^8.0

3.0.0PHP ^8.1

3.1.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8189209?v=4)[netzmacht](/maintainers/netzmacht)[@netzmacht](https://github.com/netzmacht)

---

Top Contributors

[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (325 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![plandolt](https://avatars.githubusercontent.com/u/922919?v=4)](https://github.com/plandolt "plandolt (6 commits)")[![a-kehr](https://avatars.githubusercontent.com/u/17803079?v=4)](https://github.com/a-kehr "a-kehr (4 commits)")[![cboelter](https://avatars.githubusercontent.com/u/550207?v=4)](https://github.com/cboelter "cboelter (3 commits)")[![RoflCopter24](https://avatars.githubusercontent.com/u/8280334?v=4)](https://github.com/RoflCopter24 "RoflCopter24 (2 commits)")[![MDevster](https://avatars.githubusercontent.com/u/10244240?v=4)](https://github.com/MDevster "MDevster (2 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (1 commits)")

---

Tags

componentsgridcontaobootstrap

### Embed Badge

![Health badge](/badges/contao-bootstrap-grid/health.svg)

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

###  Alternatives

[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k90](/packages/contao-community-alliance-dc-general)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[metamodels/core

MetaModels core

10156.4k66](/packages/metamodels-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)

PHPackages © 2026

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