PHPackages                             xililo/flash-popup-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. xililo/flash-popup-widget

ActiveYii2-widget

xililo/flash-popup-widget
=========================

A widget that displays session flashes and triggers popups

v0.3.1(1y ago)140↓100%MITCSS

Since Jul 14Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/xililo/flash-popup-widget)[ Packagist](https://packagist.org/packages/xililo/flash-popup-widget)[ Docs](https://github.com/xililo/flash-popup-widget)[ RSS](/packages/xililo-flash-popup-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

FlashPopupWidget
================

[](#flashpopupwidget)

FlashPopupWidget is a Yii2 widget that displays session flashes as popups based on the flash types.

Installation
------------

[](#installation)

Install the widget using Composer:

```
composer require xililo/flash-popup-widget
```

Usage
-----

[](#usage)

Let's say you have the folowing in the controller:

```
  Yii::$app->session->addFlash('danger', 'Log in to proceed with the operation.');
```

Import the FlashPopupWidget class at the top of your main layout view or any view file (e.g. in your `views/layouts/main.php`):

```
  use xililo\Popups\FlashPopupWidget;
```

Place the widget call in your view file or controller where you want to display the flashes and trigger the popups:

```
  echo FlashPopupWidget::widget();
```

This will render the FlashPopupWidget popups based on the flash types.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance51

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~195 days

Total

4

Last Release

444d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f38178a9564b1d087bf5e18363ef720bdf4c80229e04a6a24e0cff104dbd5ac?d=identicon)[xililo](/maintainers/xililo)

---

Top Contributors

[![xililo](https://avatars.githubusercontent.com/u/64233070?v=4)](https://github.com/xililo "xililo (12 commits)")

---

Tags

widgetflashpopup

### Embed Badge

![Health badge](/badges/xililo-flash-popup-widget/health.svg)

```
[![Health](https://phpackages.com/badges/xililo-flash-popup-widget/health.svg)](https://phpackages.com/packages/xililo-flash-popup-widget)
```

###  Alternatives

[kartik-v/yii2-widget-alert

A widget to generate alert based notifications using bootstrap-alert plugin (sub repo split from yii2-widgets)

284.1M24](/packages/kartik-v-yii2-widget-alert)[diecoding/yii2-toastr

Simple flash toastr notifications for Yii2

1328.8k](/packages/diecoding-yii2-toastr)[romka-chev/yii2-swiper

Yii2 extension for Swiper slider

1840.6k](/packages/romka-chev-yii2-swiper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
