phptransformers / smarty
Smarty implementation of PhpTransformer.
1.0.0
2016-02-25 13:07 UTC
Requires
- php: >=5.3.0
- phptransformers/phptransformer: ~1.0.0
- smarty/smarty: ~3.1.21
Requires (Dev)
- phpunit/phpunit: ~4.6
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2024-11-16 23:09:35 UTC
README
Smarty support for PHPTransformers.
Install
Via Composer
$ composer require phptransformers/smarty
Usage
$engine = new SmartyTransformer(); echo $engine->render('Hello, {$name}!', array('name' => 'phptransformers'));
Testing
$ phpunit
License
The MIT License (MIT). Please see License File for more information.