derekisbusy / yii2-popper
Popper.js assets for Yii2
Installs: 1 816
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-10-24 09:32:07 UTC
README
Popper.js assets for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist derekisbusy/yii2-popper:dev-master
or add
"derekisbusy/yii2-popper": "dev-master"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it by adding it to your view :
use \derekisbusy\popper\PopperAsset; PopperAsset::register($this);
or by adding it to another assets dependencies list :
public $depends = [ 'derekisbusy\popper\PopperAsset' ];