net.egmsystems / yii2-asset-choices
yii2 asset to https://github.com/Choices-js/Choices
Package info
github.com/egmsystems/yii2-asset-choices
Type:yii2-extension
pkg:composer/net.egmsystems/yii2-asset-choices
v1.0.3-alpha
2022-06-02 16:02 UTC
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-02-06 04:33:02 UTC
README
yii2 asset to https://github.com/Choices-js/Choices
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist net.egmsystems/yii2-asset-choices "*"
or add
"net.egmsystems/yii2-asset-choices": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by add to the view file :
<?= \egmyii2\assets\choicejs\ChoiceJSAsset::register($this); ?>```