mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-16 15:21:13 +08:00

Use case: ``` echo GridView::widget([ ... 'columns' => [ ... [ 'attribute' => 'created_at', 'label' => '<span data-toggle="tooltip" class="glyphicon glyphicon-time" title="'.Yii::t('app', 'Created At').'"></span>', 'encodeLabel' => false, ... ], ```
Yii PHP Framework Version 2
This is the core framework code of Yii 2.
Installation
The preferred way to install the Yii framework is through composer.
Either run
composer global require "fxp/composer-asset-plugin:1.0.0-beta3"
composer require --prefer-dist "yiisoft/yii2 *"
or add
"yiisoft/yii2": "*",
to the require section of your composer.json.