phptransformers / twig
Twig implementation of PhpTransformer.
1.0.0
2017-09-30 21:24 UTC
Requires
- php: >=5.3.0
- phptransformers/phptransformer: ~1.0.0
- twig/twig: ~1.18 || ~2.0
Requires (Dev)
- phpunit/phpunit: ~4.6
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-12-17 00:07:05 UTC
README
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.