PHPackages                             balfour/laravel-flash-messages - 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. balfour/laravel-flash-messages

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

balfour/laravel-flash-messages
==============================

A super lightweight library for handling flash messages in Laravel

0.0.1-alpha(6y ago)025MITPHP

Since Feb 24Pushed 6y ago6 watchersCompare

[ Source](https://github.com/balfour-group/laravel-flash-messages)[ Packagist](https://packagist.org/packages/balfour/laravel-flash-messages)[ RSS](/packages/balfour-laravel-flash-messages/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

laravel-flash-messages
======================

[](#laravel-flash-messages)

A super lightweight library for handling flash messages in Laravel.

*This library is in early release and is pending unit tests.*

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

[](#installation)

```
composer require balfour/laravel-flash-messages
```

Usage
-----

[](#usage)

```
use Balfour\LaravelFlashMessages\FlashMessages;

// resolve the message container
$flash = app(FlashMessages::class);

// or
$flash = app('flash');

// flash a message
$flash->flash('error', 'You are not authorized.');

// flash a message with a title
$flash->flash('error', 'You are not authorized.', 'Oopsie');

// add a message to the current container
// this message won't flash to the next request
$flash->add('error', 'You are not authorized.');

// retrieve all flash message
$messages = $flash->all();

// wipe all messages
$messages->clear();
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2269d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/054093c4138d9bea138f6226b632f8f7ad0adb516562480f7f77868d481e75f0?d=identicon)[balfourgroup](/maintainers/balfourgroup)

---

Top Contributors

[![matthewgoslett](https://avatars.githubusercontent.com/u/1571743?v=4)](https://github.com/matthewgoslett "matthewgoslett (5 commits)")

### Embed Badge

![Health badge](/badges/balfour-laravel-flash-messages/health.svg)

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

###  Alternatives

[gloudemans/shoppingcart

Laravel Shoppingcart

3.7k756.7k12](/packages/gloudemans-shoppingcart)[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.1M30](/packages/prologue-alerts)[anahkiasen/former

A powerful form builder

1.4k1.4M14](/packages/anahkiasen-former)[spatie/laravel-flash

A lightweight package to flash messages

6631.8M16](/packages/spatie-laravel-flash)[spatie/laravel-googletagmanager

Google Tag Manager integration for Laravel

4413.4M5](/packages/spatie-laravel-googletagmanager)[bumbummen99/shoppingcart

Laravel Shoppingcart

518555.4k3](/packages/bumbummen99-shoppingcart)

PHPackages © 2026

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