devtronic/bootstrap3-macro-bundle

Bootstrap 3 Macros for Twig

v1.0-alpha 2017-04-25 17:46 UTC

This package is auto-updated.

Last update: 2024-10-21 23:58:22 UTC


README

Work in progress, pre-alpha!!

Installation

composer require devtronic/bootstrap3-macro-bundle

In app/AppKernel.php:

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        //...
        new Devtronic\Bootstrap3MacroBundle\Bootstrap3MacroBundle(),
    );
}

Usage

{% import "Bootstrap3MacroBundle::macros.html.twig" as bootstrap %}

Documentation

here