samuelelonghin/yii2-btn

new Bootstrap 5 Btn

Maintainers

Package info

github.com/SamueleLonghin/yii2-btn

Type:yii2-extension

pkg:composer/samuelelonghin/yii2-btn

Statistics

Installs: 17

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.3 2022-03-30 15:21 UTC

This package is auto-updated.

Last update: 2026-03-01 00:38:16 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist longhinsamuele/yii2-btn "*"

or add

"longhinsamuele/yii2-btn": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \samuelelonghin\btn\Btn::widget(); ?>```
<?= \samuelelonghin\btn\Btn::widget(['data'=> []]); ?>```