Yii 2 extension for render views using Fenom template engine.
Installation ¶
composer require ensostudio/yii2-fenom
Usage ¶
You can add a custom template engine by reconfiguring view
component's behavior:
[
'components' => [
'view' => [
'class' => yii\web\View::class,
'renderers' => [
'tpl' => [
'class' => ensostudio\yii2fenom\FenomViewRenderer::class,
// customize renderer options,
],
],
],
],
]
See https://www.yiiframework.com/doc/guide/2.0/en/tutorial-template-engines
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.