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

https://github.com/shapecode/twig-collector-extension-bundle


https://github.com/shapecode/twig-collector-extension-bundle

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Shapecode - Twig Collector Bundle

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/b2a154f2-2757-44c5-b679-6a11e922292c/mini.png)](https://insight.sensiolabs.com/projects/b2a154f2-2757-44c5-b679-6a11e922292c)
[![Latest Stable Version](https://poser.pugx.org/shapecode/twig-collector-extension-bundle/v/stable)](https://packagist.org/packages/shapecode/twig-collector-extension-bundle)
[![Total Downloads](https://poser.pugx.org/shapecode/twig-collector-extension-bundle/downloads)](https://packagist.org/packages/shapecode/twig-collector-extension-bundle)
[![Latest Unstable Version](https://poser.pugx.org/shapecode/twig-collector-extension-bundle/v/unstable)](https://packagist.org/packages/shapecode/twig-collector-extension-bundle)
[![License](https://poser.pugx.org/shapecode/twig-collector-extension-bundle/license)](https://packagist.org/packages/shapecode/twig-collector-extension-bundle)

## Install instructions

Via Composer

``` bash
$ composer require shapecode/twig-collector-extension-bundle
```

Enable the bundle in your kernel:

``` php

.body {
margin-bottom: 10px;
}

{% endcollector %}
```

... and output it at a specific line

``` twig
{% collection stylesheets %}
```