Download the PHP package kv4nt/yii2-sweet-alert without Composer
On this page you can find all versions of the php package kv4nt/yii2-sweet-alert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kv4nt/yii2-sweet-alert
More information about kv4nt/yii2-sweet-alert
Files in kv4nt/yii2-sweet-alert
Download kv4nt/yii2-sweet-alert
More information about kv4nt/yii2-sweet-alert
Files in kv4nt/yii2-sweet-alert
Please rate this library. Is it a good library?
Informations about the package yii2-sweet-alert
SweetAlert Widget for Yii 2
SweetAlert widget based on SweetAlert
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json.
Usage
For render the message from session flash you can use the following code:
1) Set the message in your action, for example:
2) Simply add widget to your page as follows:
For render the custom message you can use the following code:
Alert Options
You can find them on the options page
All versions of yii2-sweet-alert with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
yiisoft/yii2-bootstrap Version *
bower-asset/bootstrap-sweetalert Version *
yiisoft/yii2-bootstrap Version *
bower-asset/bootstrap-sweetalert Version *
The package kv4nt/yii2-sweet-alert contains the following files
Loading the files please wait ....