2017 © Pedro Peláez
 

yii2-extension yii2-tal

PHP Template Attribute Language integration for the Yii framework

image

yiisoft/yii2-tal

PHP Template Attribute Language integration for the Yii framework

  • Wednesday, July 9, 2014
  • by morieskie
  • Repository
  • 1 Watchers
  • 0 Stars
  • 371 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TAL Extension for Yii 2

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

Installation

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)

The Versions

09/07 2014

dev-master

9999999-dev

PHP Template Attribute Language integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Derick Fynn

yii2 renderer phptal tal