yii2-extensions/asset-popper

Assset bundle for Popper.js for Yii Framework.

0.1.0 2024-02-28 07:01 UTC

This package is auto-updated.

Last update: 2024-11-28 08:55:56 UTC


README

Assset bundle for Popper.js.


php-version PHPUnit PHPUnit Codecov Infection

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist yii2-extensions/asset-popper:^0.1

or add

"yii2-extensions/asset-popper": "^0.1"

to the require section of your composer.json file.

Basic usage

<?php

declare(strict_types=1);

use Yii2\Asset\PopperAsset;

PopperAsset::register($this);

CDN usage

<?php

declare(strict_types=1);

use Yii2\Asset\PopperCdnAsset;

PopperCdnAsset::register($this);

Quality code

static-analysis phpstan-level StyleCI

Support versions Yii2

Yii20 Yii22

Testing

Check the documentation testing to learn about testing.

Our social networks

Twitter

License

The MIT License. Please see License File for more information.