Yii 2.0: yii2-label-inplace

A form enhancement widget for Yii framework 2.0 allowing in-field label support.
25 followers

A form enhancement widget for Yii framework 2.0 allowing in-field label support. This widget is a wrapper for the labelinplace plugin which is styled for Bootstrap 3.

Demo

You can see detailed documentation on usage of the extension.

Requirements

  • Yii 2.0 (*)
  • PHP 5.4

Note: This extension mandatorily requires Yii Framework 2.

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require kartik-v/yii2-label-inplace "dev-master"

or add

"kartik-v/yii2-label-inplace": "dev-master"

to the require section of your composer.json file.

Usage

use kartik\label\LabelInPlace;
echo LabelInPlace::widget([
    'label' => 'Email Address'
]);

Report

License

yii2-label-inplace is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.

Resources

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet