vova07 / yii2-control-widget
The control widget for Yii framework backend.
Installs: 1 287
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-10-26 16:54:14 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist vova07/yii2-control-widget "*"
or add
"vova07/yii2-control-widget": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
echo \vova07\control\Widget::widget([ 'title' => 'Create new record', 'items' => [ 'cancel' => [ 'visible' => true ] ] ]);