chabibnr / yii2-sweetalert
Sweet Alert
Package info
github.com/chabibnr/yii2-sweetalert
Type:yii2-extension
pkg:composer/chabibnr/yii2-sweetalert
dev-master
2018-10-21 13:59 UTC
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-02-16 22:53:53 UTC
README
Sweet Alert
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist chabibnr/yii2-sweetalert "*"
or add
"chabibnr/yii2-sweetalert": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \chabibnr\sweetalert\widgets\SweetAlert::widget(); ?>```