2017 © Pedro Peláez
 

symfony-bundle twig-bundle

LidaaTwigBundle will add a lot of Twig Extensions (php, image, url, css, js, tag, session, number, sf, unset, form, html, ...)

image

lidaa/twig-bundle

LidaaTwigBundle will add a lot of Twig Extensions (php, image, url, css, js, tag, session, number, sf, unset, form, html, ...)

  • Thursday, September 13, 2012
  • by lidaa
  • Repository
  • 3 Watchers
  • 26 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Provides a lot of Twig Extensions., (*2)

(php, image, link, css, js, tag, session, number, sf, unset, form, html, ...), (*3)

Requirement

  • Twig version 1.5 or later
  • Symfony version 2.0.9 or later

Installation

1- Add the following lines in your deps file:, (*4)

[LidaaTwigBundle]
     git=git://github.com/lidaa/LidaaTwigBundle.git
     target=/bundles/Lidaa/TwigBundle

2- Now, run the vendors script to download the bundle:, (*5)

$ php bin/vendors install

3- Add LidaaTwigBundle to your application kernel:, (*6)

// app/AppKernel.php
public function registerBundles()
{
     return array(
         // ...
         new Lidaa\TwigBundle\LidaaTwigBundle(),
         // ...
     );
}

4- Add the 'Lidaa' namespace to your autoloader:, (*7)

// app/autoload.php
$loader->registerNamespaces(array(
     //...
     'Lidaa' => __DIR__.'/../vendor/bundles',
     //...
));

Extensions:

TODO:

  • Add DateExtension
  • Add ajax and highligh to JsExtension

The Versions

13/09 2012

dev-master

9999999-dev https://github.com/lidaa/LidaaTwigBundle

LidaaTwigBundle will add a lot of Twig Extensions (php, image, url, css, js, tag, session, number, sf, unset, form, html, ...)

  Sources   Download

MIT

The Requires

 

by Avatar lidaa

twig symfony2

13/09 2012

2.0.10

2.0.10.0 https://github.com/lidaa/LidaaTwigBundle

LidaaTwigBundle will add a lot of Twig Extensions (php, image, url, css, js, tag, session, number, sf, unset, form, html, ...)

  Sources   Download

MIT

The Requires

 

by Avatar lidaa

twig symfony2