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

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

sammaye/laravel-flash
=====================

My very Laravel first plugin, based on https://github.com/laracasts/flash

021PHP

Since Sep 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Sammaye/laravel-flash)[ Packagist](https://packagist.org/packages/sammaye/laravel-flash)[ RSS](/packages/sammaye-laravel-flash/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-flash)

My very first plugin, based on

This is strictly designed as a session based alert for errors and the such.

This is not supposed to be used as a general alert.

How to make an alert
--------------------

[](#how-to-make-an-alert)

To make an alert:

```
Flash::error('You got hell to pay')
```

which supports these types of alerts:

- error
- success
- warning
- info

### How to make it dismissible

[](#how-to-make-it-dismissible)

Simply add a second paramter of `true` or `false` depending on whether you want it dismissible or not.

```
Flash::error('You got hell to pay', true)
```

This alert can be dismissed because it has the second parameter of `true`.

How to display alerts in my template
------------------------------------

[](#how-to-display-alerts-in-my-template)

Simple:

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

This plugin registers all of its views at the flash namespace and only has one view, `flash`.

This plugin also registers the view for publishing as such you can do this to enable the view to be overridden:

```
php artisan vendor:publish --provider="sammaye\Flash\Providers\FlashServiceProvider"
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7357836d822160350576f98b85244f4d5f960be303a2fcaa15a330187966cbd4?d=identicon)[Sammaye](/maintainers/Sammaye)

---

Top Contributors

[![Sammaye](https://avatars.githubusercontent.com/u/323996?v=4)](https://github.com/Sammaye "Sammaye (11 commits)")

### Embed Badge

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

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

###  Alternatives

[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

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