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

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

dizatech/flash
==============

Flash Messages for Laravel

06PHP

Since Feb 15Pushed 2y agoCompare

[ Source](https://github.com/dizatech/flash)[ Packagist](https://packagist.org/packages/dizatech/flash)[ RSS](/packages/dizatech-flash/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Caffeinated Flash Messages
==========================

[](#caffeinated-flash-messages)

[![Source](https://camo.githubusercontent.com/0d9072e20677b5c28198efb7ba1828e4d7ff19858040fb4a6acffba8f680bc21/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6361666665696e617465642f666c6173682d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/caffeinated/flash)[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)

Laravel 5 flash messages, based off the Laracasts video tutorial on the same topic: [Flexible Flash Messages](https://laracasts.com/lessons/flexible-flash-messages). Originally developed for [FusionCMS](https://github.com/fusioncms/fusioncms), an open source content management system.

Quick Installation
------------------

[](#quick-installation)

Begin by installing the package through Composer.

```
composer require caffeinated/flash

```

Once this operation is complete, simply add both the service provider and facade classes to your project's `config/app.php` file:

#### Service Provider

[](#service-provider)

```
Caffeinated\Flash\FlashServiceProvider::class,
```

#### Facade

[](#facade)

```
'Flash' => Caffeinated\Flash\Facades\Flash::class,
```

And that's it! With your coffee in reach, start flashing out messages!

Usage
-----

[](#usage)

Usage is simple. Before redirecting to another page, simply call on `Flash` to set your desired flash message. There are a number of methods to assign different levels of priority (info, success, warning, and error).

#### Success

[](#success)

```
Flash::success('This is a success message.');
```

#### Info

[](#info)

```
Flash::info('This is an info message.');
```

#### Warning

[](#warning)

```
Flash::warning('This is a warning message.');
```

#### Error

[](#error)

```
Flash::error('This is an error message.');
```

### Rendering

[](#rendering)

To render your flash messages in your view, simply include the bundled view partial in your master layout:

```
@include('flash::message')
```

Note that the bundled view partial is geared for Bootstrap out of the box.

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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.

### Community

Maintainers

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

---

Top Contributors

[![kaidesu](https://avatars.githubusercontent.com/u/355659?v=4)](https://github.com/kaidesu "kaidesu (33 commits)")[![cmgmyr](https://avatars.githubusercontent.com/u/4693481?v=4)](https://github.com/cmgmyr "cmgmyr (2 commits)")[![omidfarahani](https://avatars.githubusercontent.com/u/10830204?v=4)](https://github.com/omidfarahani "omidfarahani (1 commits)")

### Embed Badge

![Health badge](/badges/dizatech-flash/health.svg)

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

PHPackages © 2026

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