Registry / utility / kartik-v-yii2-widget-alert

kartik-v-yii2-widget-alert

JSON →
library1.1.5phppackagistunverified

A widget to generate alert based notifications using bootstrap-alert plugin.

composer require kartik-v/yii2-widget-alert
INSTALL
IMPORT
SIG · KARTIK-V-YII2-WIDG
K
kartik-v-yii2-widget-alert
utilityphpv1.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Alert
use kartik\alert\Alert;

Display a success alert notification.

use kartik\alert\Alert; echo Alert::widget([ 'type' => Alert::TYPE_SUCCESS, 'body' => 'Operation successful!', ]);
Debug
Known issues
gotchaDepends on Bootstrap 3/4; may conflict with custom Bootstrap versions.
fix
Ensure Bootstrap assets are loaded or use a compatible theme.
affects: >=1.0.0
Upgrade
Version history
1.1.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
kartik-v-yii2-widget-alert — pip install kartik-v-yii2-widget-alert · libregistry