PHPackages                             tamtamchik/simple-flash - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. tamtamchik/simple-flash

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

tamtamchik/simple-flash
=======================

Easy, framework agnostic flash notifications for PHP.

3.0.1(1y ago)105104.1k↓18.8%15[1 PRs](https://github.com/tamtamchik/simple-flash/pulls)3MITPHPPHP &gt;=7.3CI passing

Since May 28Pushed 3mo ago4 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (25)Used By (3)

Simple Flash Messages
=====================

[](#simple-flash-messages)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a5d748a944e01dd5ddc574b32058a99b5bb453f7b89156a64947adedc36d08fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74616d74616d6368696b2f73696d706c652d666c6173682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tamtamchik/simple-flash)[![PHP](https://camo.githubusercontent.com/c82367f2f6a5a1f3026f42bdf83f3f26b8787c049c6fcbe6ca9723c14a784783/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532466769746875622e636f6d25324674616d74616d6368696b25324673696d706c652d666c6173682532467261772532466d6173746572253246636f6d706f7365722e6a736f6e2671756572793d2532342e726571756972652e706870267374796c653d666c61742d737175617265266c6162656c3d504850)](https://camo.githubusercontent.com/c82367f2f6a5a1f3026f42bdf83f3f26b8787c049c6fcbe6ca9723c14a784783/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532466769746875622e636f6d25324674616d74616d6368696b25324673696d706c652d666c6173682532467261772532466d6173746572253246636f6d706f7365722e6a736f6e2671756572793d2532342e726571756972652e706870267374796c653d666c61742d737175617265266c6162656c3d504850)[![Total Downloads](https://camo.githubusercontent.com/c74c7b1b66c4b524883683b82aa5f332a9b8be0ce49516f546ff7698ec7e2ef6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74616d74616d6368696b2f73696d706c652d666c6173682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tamtamchik/simple-flash)[![Software License](https://camo.githubusercontent.com/329193177d3890f53e4cd56b53b345c8632e47b53f9e8052f1df26229dc930c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74616d74616d6368696b2f73696d706c652d666c6173682e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/71e962c4b7ff097b65ae4e582d2bdeeb02517c1792dd64c5f0a7420471f09ab6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f74616d74616d6368696b2f73696d706c652d666c6173682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tamtamchik/simple-flash/code-structure)[![Coverage Status](https://camo.githubusercontent.com/95eee623b03d951d331c713951bb017b53601b8643c3821957b81b801241f681/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74616d74616d6368696b2f73696d706c652d666c6173682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tamtamchik/simple-flash/code-structure)[![Quality Score](https://camo.githubusercontent.com/b7291d892fb3ec8413ddd096069e16dc7d4e3d08347ab49e0837d962ab39f8ed/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74616d74616d6368696b2f73696d706c652d666c6173682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tamtamchik/simple-flash)

[![SensioLabsInsight](https://camo.githubusercontent.com/c8effd2ca21cdfe5cbfe796b051869e4f91892492d85c085ab586529e5fe53de/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f61393263616366322d626133322d346633362d623034302d3561396631643766386632352f736d616c6c2e737667)](https://insight.symfony.com/projects/a92cacf2-ba32-4f36-b040-5a9f1d7f8f25)

Easy, framework-agnostic flash notifications for PHP. Inspired by [laracasts/flash](https://github.com/laracasts/flash) and [plasticbrain/PHP-Flash-Messages](https://github.com/plasticbrain/PHP-Flash-Messages). It supports multiple CSS frameworks out of the box:

- [Bootstrap](https://getbootstrap.com) (default)
- [Foundation](https://get.foundation)
- [Bulma](https://bulma.io)
- [Tailwind](https://tailwindcss.com)
- [Primer](https://primer.style)
- [UIKit](https://getuikit.com)
- [Fomantic UI](https://fomantic-ui.com)
- [Cirrus CSS](https://cirrus-ui.com)
- [Vanilla Framework](https://vanillaframework.io)
- [Beer CSS](https://www.beercss.com)

[![simple-flash](https://cloud.githubusercontent.com/assets/265510/24695879/c87b32f2-1a11-11e7-972e-b4b2c75f35b5.png)](https://cloud.githubusercontent.com/assets/265510/24695879/c87b32f2-1a11-11e7-972e-b4b2c75f35b5.png)

Note

The documentation below is for version 4.x! If you are looking the documentation for version 3.x look [here](https://github.com/tamtamchik/simple-flash/blob/3.0.x/README.md). If you are looking the documentation for version 2.x look [here](https://github.com/tamtamchik/simple-flash/blob/2.0.x/README.md). If you are looking the documentation for version 1.x look [here](https://github.com/tamtamchik/simple-flash/blob/1.2.x/README.md).

Install
-------

[](#install)

Via [Composer](http://getcomposer.org).

```
$ composer require tamtamchik/simple-flash
```

Inside your project make sure to start a session and load [Composer](http://getcomposer.org) autoload to make everything work.

```
