2017 © Pedro Peláez
 

yii2-extension yii2-smarty

The Smarty integration for the Yii framework

image

yiistudio/yii2-smarty

The Smarty integration for the Yii framework

  • Thursday, August 7, 2014
  • by yiistudio
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Smarty Extension for Yii 2

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',
                ],
            ],
        ],
    ],
];

Installation

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 Versions

07/08 2014

dev-master

9999999-dev

The Smarty integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 smarty renderer

07/08 2014

2.0.0-beta

2.0.0.0-beta

The Smarty integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 smarty renderer