PHPackages                             php-flasher/flasher - 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. php-flasher/flasher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-flasher/flasher
===================

The foundational PHP library for PHPFlasher, enabling the creation of framework-agnostic flash notifications. Ideal for building custom integrations or for use in PHP projects.

v2.5.0(2mo ago)634.6M↓13.7%517MITPHPPHP &gt;=8.2

Since Dec 13Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/php-flasher/flasher)[ Packagist](https://packagist.org/packages/php-flasher/flasher)[ Docs](https://php-flasher.io)[ GitHub Sponsors](https://github.com/yoeunes)[ RSS](/packages/php-flasher-flasher/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (2)Versions (135)Used By (17)

PHPFlasher Core
===============

[](#phpflasher-core)

[![Latest Version](https://camo.githubusercontent.com/0b27282956ab50b1c7b8fa717e4099535a400ad74c36947ea82babe7b41db0cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d666c61736865722f666c61736865722e737667)](https://packagist.org/packages/php-flasher/flasher)[![Total Downloads](https://camo.githubusercontent.com/520edb3b311f20355ac69d800cbb393304c88237306b32d5d0a6a7b76024af7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d666c61736865722f666c61736865722e737667)](https://packagist.org/packages/php-flasher/flasher)[![License](https://camo.githubusercontent.com/62cf0275a98fe3f16469cce6c8c8916da8cf7c13c325c8abb3705a392a721e7f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068702d666c61736865722f666c61736865722e737667)](https://packagist.org/packages/php-flasher/flasher)

Framework-agnostic flash notifications library for PHP. Build custom integrations or use with any PHP project.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2

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

[](#installation)

```
composer require php-flasher/flasher
```

Quick Start
-----------

[](#quick-start)

```
// Success notification
flash('Operation completed successfully!', 'success');

// Error notification
flash('An error occurred.', 'error');

// With options
flash('Profile updated!', 'success', [
    'timeout' => 5000,
    'position' => 'top-right',
]);

// With translation
flash('Welcome back!', 'info', [
    'translate' => true,
    'locale' => 'en',
]);
```

Key Features
------------

[](#key-features)

- **Framework Agnostic**: Works with Laravel, Symfony, or any PHP project
- **Plugin System**: Extensible architecture for adding custom adapters
- **Stamp Pattern**: Flexible metadata system for notifications
- **Storage Management**: Multiple storage backends (session, array, etc.)
- **Event System**: Event-driven architecture for customization
- **Response Handling**: HTML and JSON response formats

Documentation
-------------

[](#documentation)

Complete documentation: [php-flasher.io](https://php-flasher.io)

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

68

—

FairBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity55

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96.9% 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 ~14 days

Recently: every ~22 days

Total

134

Last Release

72d ago

Major Versions

v0.9.7 → v1.0.22022-05-16

1.x-dev → v2.0.02024-05-05

PHP version history (2 changes)v0.1.0PHP &gt;=5.3

v2.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/719ac0f6bf24d689686134530caf539727d784ad4a66c81ad5dcdba161b4ea0a?d=identicon)[yoeunes](/maintainers/yoeunes)

---

Top Contributors

[![yoeunes](https://avatars.githubusercontent.com/u/10859693?v=4)](https://github.com/yoeunes "yoeunes (126 commits)")[![ImJustToNy](https://avatars.githubusercontent.com/u/5730766?v=4)](https://github.com/ImJustToNy "ImJustToNy (2 commits)")[![yoeunes-spin](https://avatars.githubusercontent.com/u/86292260?v=4)](https://github.com/yoeunes-spin "yoeunes-spin (2 commits)")

---

Tags

flash-messageslaravelnotification-systemnotynotyfphpphp-flasherpnotifysweetalertsymfonytoastryoeunesphpframework agnosticopen-sourceflash-notificationsflasher-corecustom-integrations

### Embed Badge

![Health badge](/badges/php-flasher-flasher/health.svg)

```
[![Health](https://phpackages.com/badges/php-flasher-flasher/health.svg)](https://phpackages.com/packages/php-flasher-flasher)
```

###  Alternatives

[unicodeveloper/laravel-emoji

A Laravel 5 Package for Using &amp; Working With Emojis

21024.9k](/packages/unicodeveloper-laravel-emoji)[php-flasher/flasher-laravel

Seamlessly integrate flash notifications into your Laravel applications with PHPFlasher. Enhance user feedback and engagement with minimal setup.

442.8M35](/packages/php-flasher-flasher-laravel)[php-flasher/flasher-symfony

Integrate flash notifications into Symfony projects effortlessly with PHPFlasher. Improve user experience and application feedback loops easily.

141.3M20](/packages/php-flasher-flasher-symfony)[prevailexcel/laravel-action-service-trait

A simple Laravel package to create actions, traits and services using artisan commands

143.0k](/packages/prevailexcel-laravel-action-service-trait)[rumenx/php-seo

AI-powered, framework-agnostic PHP package for automated SEO optimization. Intelligently generates meta tags, titles, descriptions, and alt texts using configurable AI providers or manual patterns.

102.0k](/packages/rumenx-php-seo)

PHPackages © 2026

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