PHPackages                             bubu-framework/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. [Framework](/categories/framework)
4. /
5. bubu-framework/flash

ActiveLibrary[Framework](/categories/framework)

bubu-framework/flash
====================

Flash message (Bubu Framework)

V1.0.1(4y ago)0241MITPHPPHP &gt;=7.4

Since Oct 27Pushed 4y agoCompare

[ Source](https://github.com/bubu-framework/flash)[ Packagist](https://packagist.org/packages/bubu-framework/flash)[ Docs](https://github.com/bubu-framework/flash)[ RSS](/packages/bubu-framework-flash/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (1)

Flash
=====

[](#flash)

Flash message property
----------------------

[](#flash-message-property)

- General style:

    - margin &amp; padding: 10px
    - border-radius: 75px
    - font-weight: 1000
    - font-size: 18px
    - display: grid
- Valid

    - text color: `#3C763D`
    - background color: `#DFFFD8`
    - icon: `&#10003`
- Info

    - text color: `#31708F`
    - background color: `#D9EDF7`
    - icon: `&#128712`
- Alert

    - text color: `#FF5D00`
    - background color: `#FFB149`
    - icon: `&#9888`
- Error

    - text color: `#FF3331`
    - background color: `#FFABAB`
    - icon: `&#10754`

Create flash message
--------------------

[](#create-flash-message)

- ### Create flash message with default property

    [](#create-flash-message-with-default-property)

    `Flash::type($message);`

    With:

    - type -&gt; in \['valid', 'info', 'alert', 'error'\]
    - message -&gt; (string)
- ### Create flash message without default property but with general style

    [](#create-flash-message-without-default-property-but-with-general-style)

    `Flash::other($message, $colorText, $backgroundColor, $iconCode)`

    With:

    - message -&gt; (string) message to show
    - colorText -&gt; (string) color of text (all color type supported by css suported)
    - colorBackgroud -&gt; (string) same of colorText but for background
    - iconCode -&gt; Code for icon (prefer hex code)

Generate flash message
----------------------

[](#generate-flash-message)

- Generate message with css style: `Flash::generate();`
- Generate message without default style: `Flash::rawGenerate()`

> Note: for the 2 methods, a class `flash` is added, but, for `rawGenerate`, a second class named by `flash-type` (with type, the type of message (valid, info, alert, error, other)) is added.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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 ~27 days

Total

2

Last Release

1635d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8fb869b0492caf9aef71c62e378b2dd09e6d07da959dc1a5e2dbe3a8cb403ec?d=identicon)[Quentin\_bubu](/maintainers/Quentin_bubu)

---

Top Contributors

[![QuentinBubu](https://avatars.githubusercontent.com/u/60854021?v=4)](https://github.com/QuentinBubu "QuentinBubu (3 commits)")

### Embed Badge

![Health badge](/badges/bubu-framework-flash/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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