PHPackages                             hugueso/uflash - 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. hugueso/uflash

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

hugueso/uflash
==============

simple message flash

057HTML

Since Apr 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/huguesso/uflash)[ Packagist](https://packagist.org/packages/hugueso/uflash)[ RSS](/packages/hugueso-uflash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Uflash the simple notification

[](#uflash-the-simple-notification)

### Copyright

[](#copyright)

Inspired by Mercuryseries Flashy .

### Installation

[](#installation)

First, pull in the package through Composer.

Run ` composer require hugueso/uflash `

And then, if using Laravel 5, include the service provider within `config/app.php`.

```
'providers' => [
    Hugueso\Uflash\UflashServiceProvider::class,
];

```

And, for convenience, add a facade alias to this same file at the bottom:

```
'aliases' => [
   'Uflash' => Hugueso\Uflash\Uflash::class,
];

```

> Publish now the public vendor

```
php artisan vendor:publish  --tag=public --provider="Hugueso\Uflash\UflashServiceProvider"

```

### Usage

[](#usage)

Within your controllers

```
use Uflash ;

public function index()
{
    Uflash::message('Welcome Hugueso!', 'http://your-link.io');

    return redirect()->back() ;
}

```

You may also do:

- `Uflash::success('your Message', 'http://your-link.com')`
- `Uflash::info('your Message', 'http://your-link.com')`
- `Uflash::warning('your Message', 'http://your-link.com')`
- `Uflash::danger('your Message', 'http://your-link.com')`

Alternatively, again, if you're using Laravel, you may reference the flashy() helper function, instead of the facade. Here's an example:

```

public function logout()
{
    Auth::logout();

    flashy()->info('You Message.', 'http://your-link.com');

    return redirect()->to('home');
}

```

if you want, you may use (or modify) the views that are included with this package. Simply append to your layout view:

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

### Exemple

[](#exemple)

```

    Document

    Welcome to your website...

@include('uflash::message')

```

If you need to modify the flash message partials, you can run:

`php artisan vendor:publish`

> This package has jQuery has dependency.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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/51de18b934629ec5686c7c2fef472f1e7171fea5792a96424cf21cd3bd136f94?d=identicon)[devEmmsu](/maintainers/devEmmsu)

---

Top Contributors

[![huguesso](https://avatars.githubusercontent.com/u/46674958?v=4)](https://github.com/huguesso "huguesso (1 commits)")

### Embed Badge

![Health badge](/badges/hugueso-uflash/health.svg)

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

###  Alternatives

[event-engine/php-engine

CQRS / ES PHP SDK for event-engine.io

5436.1k2](/packages/event-engine-php-engine)

PHPackages © 2026

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