dev-master
9999999-devThe Smarty integration for the Yii framework
BSD-3-Clause
The Requires
yii2 smarty renderer
2.0.0-beta
2.0.0.0-betaThe Smarty integration for the Yii framework
BSD-3-Clause
The Requires
yii2 smarty renderer
Wallogit.com
2017 © Pedro Peláez
The Smarty integration for the Yii framework
This extension provides a ViewRender that would allow you to use Smarty view template engine., (*1)
To use this extension, simply add the following code in your application configuration:, (*2)
return [
//....
'components' => [
'view' => [
'renderers' => [
'tpl' => [
'class' => 'yii\smarty\ViewRenderer',
//'cachePath' => '@runtime/Smarty/cache',
],
],
],
],
];
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require --prefer-dist yiistudio/yii2-smarty "*"
or add, (*5)
"yiistudio/yii2-smarty": "*"
to the require section of your composer.json., (*6)
The Smarty integration for the Yii framework
BSD-3-Clause
yii2 smarty renderer
The Smarty integration for the Yii framework
BSD-3-Clause
yii2 smarty renderer