This extension is a collection of useful helper functions (and classes) for Yii Framework 2.0. This extension works well together with the yii2-widgets extension.
This class extends the Yii Inflector Helper with more utility functions for Yii developers. The helper functions available in this class are:
Note: This extension mandatorily requires Yii Framework 2. The framework is under active development and the first stable release of Yii 2 is expected in early 2014.
The preferred way to install this extension is through composer.
$ php composer.phar require kartik-v/yii2-helpers "*"
require section of your
// add this to your code to use these classes use kartik\helpers\Html; use kartik\helpers\Enum; // examples of usage echo Html::icon('cloud'); echo Enum::properize('Chris');
yii2-helpers is released under the BSD 3-Clause License. See the bundled
LICENSE.md for details.