2017 © Pedro Peláez
 

library twig-shell-bundle

Provides a simple Twig REPL

image

alb/twig-shell-bundle

Provides a simple Twig REPL

  • Saturday, January 19, 2013
  • by arnaud-lb
  • Repository
  • 2 Watchers
  • 8 Stars
  • 2,420 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Twig Shell Bundle

Provides a simple Twig REPL, (*1)

Example

$ ./app/console twig:shell
twig > 512*2
1024
twig > 512*2|number_format()
1024
twig > (512*2)|number_format()
1,024
twig >

Install

$ composer require alb/twig-shell-bundle:*

Enable the bundle

Enable the bundle in the kernel:, (*2)

``` php <?php // app/AppKernel.php, (*3)

public function registerBundles() { $bundles = array( // ... new Alb\TwigShellBundle\AlbTwigShellBundle(), ); } ```, (*4)

The Versions

19/01 2013

dev-master

9999999-dev

Provides a simple Twig REPL

  Sources   Download

MIT

by Arnaud Le Blanc

19/01 2013

0.1.0

0.1.0.0

Provides a simple Twig REPL

  Sources   Download

MIT

by Arnaud Le Blanc