PHPackages                             jchegenye/myflashalert - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. jchegenye/myflashalert

ActiveLibrary[Queues &amp; Workers](/categories/queues)

jchegenye/myflashalert
======================

A simplified flash messaging alert for your Laravel application using Twitter Bootstrap 4

v1.0.2(7y ago)259MITPHPPHP &gt;=5.6.4

Since Dec 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Jchegenye/myflashalert)[ Packagist](https://packagist.org/packages/jchegenye/myflashalert)[ Docs](https://github.com/jchegenye/myflashalert)[ RSS](/packages/jchegenye-myflashalert/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (3)Used By (0)

Simplified Flash Messaging Alert
================================

[](#simplified-flash-messaging-alert)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7b5183dcb02f56942728736aa2fff1acbb9c92f527cdd0432ee22466f6ac3725/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a63686567656e79652f6d79666c617368616c6572742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jchegenye/myflashalert#v1.0.2)[![Total Downloads](https://camo.githubusercontent.com/d37639fc5cfc571afce6d3ad4877eb931dceee0c783795e95218b7267037dce8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a63686567656e79652f6d79666c617368616c6572742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jchegenye/myflashalert)

A simplified flash messaging for your Laravel application using Twitter [Bootstrap 4 (Alerts)](https://getbootstrap.com/docs/4.0/components/alerts/).

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

[](#installation)

Via Composer

```
$ composer require jchegenye/myflashalert
```

Usage
-----

[](#usage)

Make sure you add Bootstrap to your project. You can choose to either use BootstrapCDN provided for free (see below), download the source files [here](https://getbootstrap.com/docs/4.0/getting-started/introduction/) or write your own CSS based on these classes.

```

```

Inside your controllers, you can use any of the `HTTP Redirects` as mentioned [here](https://laravel.com/docs/5.7/redirects#redirecting-with-flashed-session-data) except `Redirecting With Flashed Session Data`. Instead replace `->with()` method with any of methods i.e `->success()` provided by this package, see below.

Examples
--------

[](#examples)

```
    //Redirecting to named routes

        public function store()
        {
            return redirect()->route('user')->success('Successfully added!');
        }
```

```
    //Other redirects you can use ...

    return redirect('user/edit')->success('Successfully edited!');
    return redirect('user/delete')->warning('Delete?, continue...');
    return redirect()->back()->error('Something went wrong!');

    //... and much more redirects.
```

To display flashed message in session, add below inside your view(s).

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

Methods available
-----------------

[](#methods-available)

**Methods****Description**`->success()`Flash a success message`->error()`Flash error message`->warning()`Flash a warning message`->info()`Flash info messageLicense
-------

[](#license)

Please see the [license file](license.md) for more information.

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~72 days

Total

2

Last Release

2571d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c67f2a67268473c47fefec646347236594c3f482bdbaa60250334fd1959d821?d=identicon)[Jchegenye](/maintainers/Jchegenye)

---

Top Contributors

[![Jchegenye](https://avatars.githubusercontent.com/u/10044310?v=4)](https://github.com/Jchegenye "Jchegenye (14 commits)")

---

Tags

messagelaravelflashsessionsalertbootsrapmyflashalert

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jchegenye-myflashalert/health.svg)

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

###  Alternatives

[nahid/talk

Talk is a Laravel based realtime messaging, chatting and conversation system. It helps to develop users messaging, chatting and conversations in easy way.

1.6k58.0k4](/packages/nahid-talk)[bpocallaghan/alert

A helper package to flash a bootstrap alert to the browser.

1818.8k2](/packages/bpocallaghan-alert)[baklysystems/laravel-chat-messenger

Laravel chat package

121.8k](/packages/baklysystems-laravel-chat-messenger)

PHPackages © 2026

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