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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xililo/flash-popup-widget

ActiveYii2-widget[Utility &amp; Helpers](/categories/utility)

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

A widget that displays session flashes and triggers popups

v0.3.1(1y ago)140MITCSS

Since Jul 14Pushed 11mo 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 3w 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

27

—

LowBetter than 47% of packages

Maintenance47

Moderate activity, may be stable

Popularity9

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

489d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64233070?v=4)[xililo](/maintainers/xililo)[@xililo](https://github.com/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

[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)
