dev-master
9999999-devPHP Template Attribute Language integration for the Yii framework
BSD-3-Clause
The Requires
by Derick Fynn
yii2 renderer phptal tal
PHP Template Attribute Language integration for the Yii framework
This extension provides a ViewRender
that would allow you to use PHPTAL 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\tal\ViewRenderer', //'cachePath' => '@runtime/Tal/cache', ], ], ], ], ];
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require --prefer-dist yiisoft/yii2-tal "*"
or add, (*5)
"yiisoft/yii2-tal": "*"
to the require section of your composer.json., (*6)
PHP Template Attribute Language integration for the Yii framework
BSD-3-Clause
yii2 renderer phptal tal