derekisbusy/yii2-popper

Popper.js assets for Yii2

Installs: 1 573

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2019-06-23 21:14 UTC

This package is auto-updated.

Last update: 2024-04-24 08:27:38 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'
  ];

Resources