2017 © Pedro Peláez
 

symfony-bundle twig-string-loader-bundle

Adds the string loader to twig

image

shapecode/twig-string-loader-bundle

Adds the string loader to twig

  • Friday, September 29, 2017
  • by Nicklog
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2,751 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 17 Versions
  • 5 % Grown

The README.md

Shapecode - Twig String Loader Bundle

paypal, (*1)

PHP Version Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads License, (*2)

Install instructions

First you need to add shapecode/twig-string-loader-bundle to composer.json:, (*3)

Do it by execute composer require shapecode/twig-string-loader-bundle or do it manually, (*4)

``` json { "require": { "shapecode/twig-string-loader-bundle": "^2.0" } }, (*5)


You also have to add `ShapecodeTwigStringLoaderBundle` to your `AppKernel.php` ... ``` php <?php // app/AppKernel.php //... class AppKernel extends Kernel { //... public function registerBundles() { $bundles = array( ... new Shapecode\Bundle\TwigStringLoaderBundle\ShapecodeTwigStringLoaderBundle(), ); //... return $bundles; } //... }

... or bundles.php when you don't use Symfony Flex., (*6)

``` php <?php, (*7)

// bundles.php //..., (*8)

return [ // .....
Shapecode\Bundle\TwigStringLoaderBundle\ShapecodeTwigStringLoaderBundle::class => ['all' => true], ];, (*9)


## Usage Now you can compile strings with twig: ``` php <?php $this->get('twig')->render('Hello {{ world }}', array( 'world' => 'World' ));

The Versions

29/09 2017
25/09 2017
16/01 2017
16/01 2017

dev-release/1.3

dev-release/1.3 https://github.com/shapecode/twig-string-loader-bundle

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

11/06 2016

dev-develop

dev-develop https://github.com/shapecode/twig-string-loader-bundle

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

11/06 2016
11/06 2016

dev-release/1.2

dev-release/1.2 https://github.com/shapecode/twig-string-loader-bundle

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

21/03 2016

1.2.2

1.2.2.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

15/02 2016

1.2.1

1.2.1.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

03/01 2016

1.2.0

1.2.0.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

23/06 2015

1.1.0

1.1.0.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

23/06 2015

1.0.4

1.0.4.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

04/04 2015

1.0.3

1.0.3.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

04/02 2015

1.0.2

1.0.2.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

17/01 2015

1.0.1

1.0.1.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader

10/01 2015

1.0.0

1.0.0.0 http://shapecode.de

Adds the string loader to twig

  Sources   Download

MIT

The Requires

 

twig template bundle symfony string loader shapecode string loader