phptransformers / string-template
StringTemplate implementation of PhpTransformer
1.0.0
2016-02-25 13:08 UTC
Requires
- nicmart/string-template: ^0.1.0
- phptransformers/phptransformer: ~1.0.0
Requires (Dev)
- phpunit/phpunit: ~4.6
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-12-16 23:07:58 UTC
README
StringTemplate support for PHPTransformers.
Install
Via Composer
$ composer require phptransformers/string-template
Usage
$engine = new StringTemplateTransformer(array('left_delimiter' => ':', 'right_delimiter' => ''); echo $engine->render('Hello, :name!', array('name' => 'phptransformers');
Testing
$ phpunit
License
The MIT License (MIT). Please see License File for more information.