PHPackages                             valllabh/message - 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. valllabh/message

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

valllabh/message
================

Laravel Package for managing messages

010PHP

Since Aug 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/valllabh/laravel-message)[ Packagist](https://packagist.org/packages/valllabh/message)[ RSS](/packages/valllabh-message/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Messages
================

[](#laravel-messages)

Message/Alerts Management for Laravel.

Feature:
--------

[](#feature)

1. Handles Flash or Same-Request Messages
2. Handles Validation Messages
3. Grouping of Messages
4. Total control on message types like `errors, information, warnings`

Setup:
------

[](#setup)

in `app/config/app.php`

- Add Service provider add `'Valllabh\Message\MessageServiceProvider'` in `providers` array
- Add Facade add `'Message' => 'Valllabh\Message\Facade\Message'` in `aliases` array
- Publishing config file `php artisan config:publish valllabh/message`
- Publishing views `php artisan view:publish valllabh/message`

Usage:
------

[](#usage)

**Add Message**

```
$message // array, MessageBag
$group // any string name of group like 'sign_up_messages', 'website_notices'
$flash // true if message needs to be flashed on next request
```

```
Message::error( $message, $group = 'global', $flash = false );
Message::info( $message, $group = 'global', $flash = false );
Message::warning( $message, $group = 'global', $flash = false );
Message::success( $message, $group = 'global', $flash = false );
```

Message adding functions are nothing but the keys form the `config:types`

```
'types' => [
	'success' => array( 'class' => 'alt-success' ),
	'error' => array( 'class' => 'alt-danger' ),
	'warning' => array( 'class' => 'alt-warning' ),
	'info' => array( 'class' => 'alt-info' )
]

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1380940?v=4)[vallabh](/maintainers/valllabh)[@valllabh](https://github.com/valllabh)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/valllabh-message/health.svg)

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

###  Alternatives

[uuf6429/rune

PHP Rule Engine.

7011.8k](/packages/uuf6429-rune)

PHPackages © 2026

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