2017 © Pedro Peláez
 

library silex-twig-engine

TwigEngine service provider for silex

image

glaubinix/silex-twig-engine

TwigEngine service provider for silex

  • Sunday, January 7, 2018
  • by glaubinix
  • Repository
  • 1 Watchers
  • 0 Stars
  • 83 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

silex-twig-engine

Build status: Build Status, (*1)

There are a couple of symfony components out there which depend on the EngineInterface rather then depending on a specific template engine. This allows users with a different template engine to use the features too -> YaY, (*2)

Installation

The easiest way to install this library is to use Composer. Add the package "glaubinix/silex-twig-engine" to your composer.json., (*3)

{
    "require": {
        "glaubinix/silex-twig-engine": "@stable"
    }
}

Usage

// Register the twig service provider
$app->register(new \Silex\Provider\TwigServiceProvider(),
    [
    // your twig config
    ]
);

// Register the twig service provider
$app->register(new \Glaubinix\TwigEngine\TwigEngineServiceProvider());

// The engine is now available under the same identifier as in symfony
$app['templating']->render('template', []);

License

MIT, (*4)

The Versions

07/01 2018

dev-master

9999999-dev

TwigEngine service provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stephan Vock

07/01 2018

2.1

2.1.0.0

TwigEngine service provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stephan Vock

24/05 2016

2.0

2.0.0.0

TwigEngine service provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stephan Vock

22/12 2015

dev-t/silex-v1

dev-t/silex-v1

TwigEngine service provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stephan Vock

22/12 2015

1.1.0

1.1.0.0

TwigEngine service provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stephan Vock

05/02 2015

1.0.0

1.0.0.0

TwigEngine service provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Stephan Vock