Skip to content

ArturJo/core

 
 

Repository files navigation

Contao-Bootstrap Core

Build Status Version License Downloads Contao Community Alliance coding standard

This extension provides Bootstrap 4 integration into Contao.

Contao-Bootstrap is a modular integration. The core components provides the infrastructure for other components.

Features

  • Bootstrap environment
  • Config system
  • Template pre and post render filters

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

# Using composer directly
$ php composer.phar require contao-bootstrap/core~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 ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
        ];
    }
}