PHPackages                             crazyinventor/laflash - 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. crazyinventor/laflash

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

crazyinventor/laflash
=====================

Laravel flash message package"

1.3(9y ago)099PHPPHP &gt;=5.4.0

Since Nov 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/crazyinventor/laravel-flash)[ Packagist](https://packagist.org/packages/crazyinventor/laflash)[ RSS](/packages/crazyinventor-laflash/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Laravel Flash
=============

[](#laravel-flash)

Flash message package for Laravel with customizable message groups (levels).

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

[](#installation)

Run 'composer require crazyinventor/laflash' or modify your composer.json:

```
{
    "require": {
        "crazyinventor/laflash": "*"
    }
}
```

Configuration
-------------

[](#configuration)

#### Laravel 5.0

[](#laravel-50)

In `/config/app.php`, add the following to `providers`:

```
'CrazyInventor\LaFlash\FlashServiceProvider',

```

and the following to `aliases`:

```
'Flash' => 'CrazyInventor\LaFlash\FlashFacade',

```

#### Laravel 5.1 and newer

[](#laravel-51-and-newer)

In `/config/app.php`, add the following to `providers`:

```
CrazyInventor\LaFlash\FlashServiceProvider::class,

```

and the following to `aliases`:

```
'Flash' => CrazyInventor\LaFlash\FlashFacade::class,

```

#### Configuration file

[](#configuration-file)

Publish the `flash` configuration file by running the following command from a shell inside your Laravel's installation directory:

```
php artisan vendor:publish

```

This will create the file `config/flash.php` in your Laravel's installation directory. You can customize the levels you would like to use.

Usage
-----

[](#usage)

### Flash::hasMessages($level = false)

[](#flashhasmessageslevel--false)

Check if there are available messages. If you define a level, only messages for that level will be considered.

### Flash::getMessages($level = false)

[](#flashgetmessageslevel--false)

Get all available messages. If you define a level, only messages for that level will be returned.

### Flash::getLevels()

[](#flashgetlevels)

Get all available levels you can log to.

### Flash::[LEVEL]($message)

[](#flashlevel)

Store a message for the given leven.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~27 days

Recently: every ~40 days

Total

7

Last Release

3365d ago

Major Versions

0.2 → 1.02016-11-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/346a7a4ddd8d341c72a895cacb81eb66c5924354b1327c3e71e8435d14a989a5?d=identicon)[CrazyInventor](/maintainers/CrazyInventor)

---

Top Contributors

[![d3rd4v1d](https://avatars.githubusercontent.com/u/850325?v=4)](https://github.com/d3rd4v1d "d3rd4v1d (8 commits)")

### Embed Badge

![Health badge](/badges/crazyinventor-laflash/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M267](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M991](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M363](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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