Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 488 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 488 Bytes

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.