Bootstrap 4 Contao Bundle
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
build.default.properties
build.xml
composer.json

README.md

Contao-Bootstrap Bundle

Build Status Version License Downloads Contao Community Alliance coding standard

This extension is a metapackages which includes all bootstrap components for Contao CMS.

Features

  • Core
  • Layout
  • Grid
  • Form
  • Navbar
  • Tab
  • Panel
  • Templates

Changelog

See changelog

Requirements

  • PHP 7.1
  • Contao ~4.4

Install

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/bundle~2.0@beta

# Using composer directly
$ php composer.phar require contao-bootstrap/bundle~2.0@beta

Standard edition

Without the contao manager you also have to register the bundle


class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('metapalettes', $this->getRootDir()),
            new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('multicolumnwizard', $this->getRootDir()),
            new Netzmacht\Html\NetzmachtHtmlBundle(),
            new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
            new ContaoBootstrap\Layout\ContaoBootstrapLayoutBundle(),
            new ContaoBootstrap\Grid\ContaoBootstrapGridBundle(),
            new ContaoBootstrap\Form\ContaoBootstrapFormBundle(),
            new ContaoBootstrap\Navbar\ContaoBootstrapNavbarBundle(),
        ];
    }
}