PHPackages                             genealabs/bones-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. genealabs/bones-flash

Abandoned → [genealabs/laravel-messenger](/?search=genealabs%2Flaravel-messenger)Library[Mail &amp; Notifications](/categories/mail)

genealabs/bones-flash
=====================

Flash notification module for Laravel.

7.0.2(6y ago)1371.3k16[4 issues](https://github.com/GeneaLabs/laravel-messenger/issues)[1 PRs](https://github.com/GeneaLabs/laravel-messenger/pulls)MITPHP

Since Aug 3Pushed 4y ago5 watchersCompare

[ Source](https://github.com/GeneaLabs/laravel-messenger)[ Packagist](https://packagist.org/packages/genealabs/bones-flash)[ GitHub Sponsors](https://github.com/mikebronner)[ RSS](/packages/genealabs-bones-flash/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (8)Versions (26)Used By (0)

Messenger for Laravel
=====================

[](#messenger-for-laravel)

[![Join the chat at https://gitter.im/GeneaLabs/laravel-messenger](https://camo.githubusercontent.com/19ba652d136d1cdfbfbdc8ff0c664427fa93468c1c402b7a73e9d6807b53027e/68747470733a2f2f6261646765732e6769747465722e696d2f47656e65614c6162732f6c61726176656c2d6d657373656e6765722e737667)](https://gitter.im/GeneaLabs/laravel-messenger?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Travis](https://camo.githubusercontent.com/5bd89b98aa77083d5032ec03ac56f403f24413d0f43e5811cef230e0fb88e11e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f47656e65614c6162732f6c61726176656c2d6d657373656e6765722e737667)](https://travis-ci.org/GeneaLabs/laravel-messenger)[![SensioLabs Insight](https://camo.githubusercontent.com/2b1ae10a01cacafdbaec3c7271c635124604018576c058ef2ff3f43711ae8ed5/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f39306238303238302d343036642d343139652d623032612d3564656263353165373039642e737667)](https://insight.sensiolabs.com/projects/90b80280-406d-419e-b02a-5debc51e709d/analyses/1)[![Scrutinizer](https://camo.githubusercontent.com/358d34fce3ad23318f30b33aadc142c6284917670d432851854af8f62d182c70/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f47656e65614c6162732f6c61726176656c2d6d657373656e6765722e737667)](https://scrutinizer-ci.com/g/GeneaLabs/laravel-messenger)[![Coveralls](https://camo.githubusercontent.com/880561b9e6e832f33445b1117c098ac3ed0f01d6cb80045aabf98b2908240192/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f47656e65614c6162732f6c61726176656c2d6d657373656e6765722e737667)](https://coveralls.io/github/GeneaLabs/laravel-messenger)[![GitHub (pre-)release](https://camo.githubusercontent.com/e56af56654910f5b1f0d2b9199800adc83c8465e05406d6f0fd420cc866c7d78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f47656e65614c6162732f6c61726176656c2d6d657373656e6765722f616c6c2e737667)](https://github.com/GeneaLabs/laravel-messenger)[![Packagist](https://camo.githubusercontent.com/4261d612d8e3dd501f03a4e9e3595f8127b5448952a7459bce804e9c4a76050a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f47656e65614c6162732f6c61726176656c2d6d657373656e6765722e737667)](https://packagist.org/packages/genealabs/laravel-messenger)

[![Messenger for Laravel masthead image.](https://repository-images.githubusercontent.com/22565797/33158880-f1b3-11e9-9950-303089f954dc)](https://repository-images.githubusercontent.com/22565797/33158880-f1b3-11e9-9950-303089f954dc)

Goal
----

[](#goal)

To provide a drop-in, application-wide alerting functionality to display various types of alerts and notifications to the user in response to their actions.

Prerequisites
-------------

[](#prerequisites)

- Bootstrap 3 or 4
- Laravel 5.5 or 5.6
- PHP &gt;= 7.1.3

Features
--------

[](#features)

- Feedback notifications in form of bootstrap alerts or modals.
- Send notifications from facade, app IoC reference, or blade directive.
- Display notification easily via a blade command.

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

[](#installation)

```
composer require genealabs/laravel-messenger
```

Nothing else needs to be done, as the service provider and facades will be auto-loaded.

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

[](#configuration)

If you need to make changes to the default configuration, run the following command to publish the configuration file `config\genealabs-laravel-messenger.php`:

```
php artisan messenger:publish --config
```

After that you can configure the configuration according to your needs:

```
/*
|--------------------------------------------------------------------------
| CSS Framework Configuration
|--------------------------------------------------------------------------
|
| Here you may configure the CSS framework to be used by Messenger for
| Laravel. This allows you to switch or upgrade frameworks without
| having to recreate all your alerts.
|
| Available Settings: "bootstrap3", "bootstrap4"
|
*/

'framework' => 'bootstrap4',

/*
|--------------------------------------------------------------------------
| JavaScript Blade Section
|--------------------------------------------------------------------------
|
| Your layout blade template will need to have a section dedicated to
| inline JavaScript methods and commands that are injected by this
| package. This will eliminate conflicts with Vue, as well as
| making sure that JS is run after all deps are loaded.
|
*/

'javascript-blade-section' => 'js',
```

Usage
-----

[](#usage)

1. Trigger an alert using either the facade/IoC helper, or a blade directive in another view:

```
// IoC helper:
app('messenger')->send('message', 'title', 'level', autoHide, 'framework');

// Facade:
Messenger::send('message', 'title', 'level', autoHide, 'framework');

// Blade directive:
@send ('message', 'title', 'level', autoHide, 'framework')
```

2. Add the placeholder to your layout blade file:

```

    @deliver

```

### Parameters

[](#parameters)

#### **message**

[](#message)

*string|required*

The body of the message you want to deliver to your user. This may contain HTML. If you add links, be sure to add the appropriate classes for the framework you are using.

#### **title**

[](#title)

*string | optional | default: ''*

Title of the notification, will be inserted as an `` tag, can also include HTML. Again, keep in mind to add any framework-specific formatting yourself.

#### **level**

[](#level)

*string | optional | default: 'info'*

If provided, must be one of the following: 'info', 'success', 'warning', 'danger'.

#### **autoHide**

[](#autohide)

*boolean | optional | default: false*

Allows you to let the notification disappear automatically after 15 seconds. If autoHide is false, the user will be provided a close button in the alert.

#### **framework**

[](#framework)

*string | optional | default: 'bootstrap3'*

Specify the framework you are using. Right now it only supports 'bootstrap3' or 'bootstrap4'.

#### **type**

[](#type)

*string | optional | default: 'alert'*

Invoke any of the available alert modes. Currently only supports 'alert' or 'modal'.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 98.8% 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 ~102 days

Recently: every ~45 days

Total

21

Last Release

2264d ago

Major Versions

0.3.0 → 1.0.0-beta2017-09-14

1.0.3 → 2.0.02018-10-05

2.0.2 → 7.0.02020-02-29

PHP version history (3 changes)v0.1.0PHP &gt;=5.4.0

0.3.0PHP &gt;=7.0.0

1.0.1PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4374bfc5d8583aa8c25c5080f1fcfaf09027822f47724ba6b64abc564945c80a?d=identicon)[mikebronner](/maintainers/mikebronner)

---

Top Contributors

[![mikebronner](https://avatars.githubusercontent.com/u/1791050?v=4)](https://github.com/mikebronner "mikebronner (85 commits)")[![mitchellklijs](https://avatars.githubusercontent.com/u/3056552?v=4)](https://github.com/mitchellklijs "mitchellklijs (1 commits)")

---

Tags

alertslaravel-5-packagenotificationspackagephp7

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[brian2694/laravel-toastr

toastr.js for Laravel

136649.4k5](/packages/brian2694-laravel-toastr)[edvinaskrucas/notification

Package for Laravel for helping to manage flash / instant notifications / messages.

520393.9k10](/packages/edvinaskrucas-notification)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)

PHPackages © 2026

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