Skip to content

phptransformers/twig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twig for PHPTransformers

Twig support for PHPTransformers.

Install

Via Composer

$ composer require phptransformers/twig

Usage

$engine = new TwigTransformer();
echo $engine->render('Hello, {{ name }}!', array('name' => 'phptransformers');

Testing

$ phpunit

License

The MIT License (MIT). Please see License File for more information.