Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devtronic/bootstrap3-macro-bundle

Bootstrap 3 Macros for Twig
https://github.com/devtronic/bootstrap3-macro-bundle

bootstrap3 css html symfony twig

Last synced: 6 days ago
JSON representation

Bootstrap 3 Macros for Twig

Awesome Lists containing this project

README

        

# Bootstrap 3 Macro Bundle

**Work in progress, pre-alpha!!**

## Installation
`composer require devtronic/bootstrap3-macro-bundle`

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

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

## Documentation
[here](./doc/index.md)