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

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

howlowck/one-message
====================

Laravel Package for managing messages

0.1.0(12y ago)1272[2 issues](https://github.com/howlowck/one-message/issues)[1 PRs](https://github.com/howlowck/one-message/pulls)PHPPHP &gt;=5.3.0

Since Jan 22Pushed 12y ago1 watchersCompare

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

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

OneMessage [![Build Status](https://camo.githubusercontent.com/0df432fb6498c7b6b12819a5c235cd3154f7c11c9ce53ac180b9f290100557f2/68747470733a2f2f7472617669732d63692e6f72672f686f776c6f77636b2f6f6e652d6d6573736167652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/howlowck/one-message)
======================================================================================================================================================================================================================================================================================================

[](#onemessage-)

For Easy Management of Messages in One singleton. Anywhere in the process you want to add a message just add it in the singleton and in the view just use it to display your messages.

Feature:
--------

[](#feature)

1. Handles Flash or Same-Request Messages
2. Handles Validation Messages
3. Easy API

Setup:
------

[](#setup)

in `app/config/app.php`

- Add Service provider add `'Howlowck\OneMessage\OneMessageServiceProvider'` in `providers` array
- Add Facade add `'OneMessage'	  => 'Howlowck\OneMessage\Facades\OneMessage'` in `aliases` array

Usage:
------

[](#usage)

There are three type of messages: Error, Success, and Info.

**Add Message**

```
OneMessage::addError(['authorization' => 'You are unauthorized!!!']);

```

***or you can throw a MessageBag in there***

```
$v = Validator::make($data, $rules);
if ($v->fails()) {
	OneMessage::addError($v->errors());
}

```

**Add Message for Flash**
When adding to the flash data, it will not be available in the current request.

```
OneMessage::addError(['authorization' => 'You are unauthorized!!!'], true);

```

**get Message**

```
OneMessage::getError();

```

***or get a specific message with key***

```
OneMessage::getError('authorization');

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4587d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e08f9bb8228edf1f01ccb4bbccdf8e52ade99b66cbfb538e6df844bdc74a4569?d=identicon)[howlowck](/maintainers/howlowck)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k136.0M822](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k2.9M80](/packages/fruitcake-laravel-debugbar)[illuminate/http

The Illuminate Http package.

11938.5M8.1k](/packages/illuminate-http)[illuminate/routing

The Illuminate Routing package.

1239.4M3.5k](/packages/illuminate-routing)[flarum/core

Delightfully simple forum software.

211.5M2.5k](/packages/flarum-core)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2488.1k7](/packages/hasinhayder-tyro-login)

PHPackages © 2026

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