PHPackages                             devmi/flashy - 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. devmi/flashy

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

devmi/flashy
============

VueJs alert component for laravel.

2.0.1(7y ago)42172[1 PRs](https://github.com/AdamKeen/flashy/pulls)MITVuePHP &gt;=5.6.0

Since Oct 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/AdamKeen/flashy)[ Packagist](https://packagist.org/packages/devmi/flashy)[ RSS](/packages/devmi-flashy/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Flashy
======

[](#flashy)

Beautiful alert component made with VueJs for Laravel app.

Overview
--------

[](#overview)

[![Flashy](https://camo.githubusercontent.com/c44b189bbe23eb81418c877ea22bfc7b82704083bfb7393ab0571d61c007ee63/68747470733a2f2f692e696d6775722e636f6d2f494c5658415a412e676966)](https://camo.githubusercontent.com/c44b189bbe23eb81418c877ea22bfc7b82704083bfb7393ab0571d61c007ee63/68747470733a2f2f692e696d6775722e636f6d2f494c5658415a412e676966)

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

[](#installation)

### Step 1: Composer

[](#step-1-composer)

From the command line, run:

```
composer require devmi/flashy
```

### Step 2: Service Provider

[](#step-2-service-provider)

> If you're using laravel &gt;5.5 skip to the next step.

Open config/app.php and within the providers array:

```
Devmi\Flashy\FlashyServiceProvider::class

```

### Step 3: Vendor Puslish

[](#step-3-vendor-puslish)

Now you must publish the vue compenent and register it in order to use it.

```
php artisan vendor:publish --tag=devmi

```

open `resources/assets/js/app.js` and register the component

```
Vue.component('flashy', require('./vendor/devmi/Flashy.vue'));

```

you find the file under `resources/assets/js/vendor/devmi/Flashy.vue`.

### Step 3: Add Flashy Tag

[](#step-3-add-flashy-tag)

You can add the flashy component anywhere in your blade files but preferably it should be added to your `app.blade.php` file

```

```

Usage
-----

[](#usage)

Now in your controller before any redirect you may do

```
flashy()->push('This message will be flashed.');

```

> The default color is bootstrap alert success.

### More Control

[](#more-control)

You may also change the default theme color, display delay, add title, stop animation

`app.blade.php`

```

```

And

```
flashy()->push(message, type, title);

```

> **Title:** `String` (optional)

> **Message:** `String`

> **Type:** `string` eg: `['primary', 'success', 'danger', 'warning', 'secondary', 'black', 'light']` (optional) | **Default:** `success`

> **Delay:** `Integer` (optional) | **Default:** `3000`

> **Animated:** `Boolean` (optional) | **Default:** `true`

### Notice

[](#notice)

If you use Ajax requests, you should add to `resources/assets/js/app.js` the following code

```
window.events = new Vue();
window.flashy = (message, type, title) => window.events.$emit('flashy', message, type, title)

```

then simply you can call `flashy()` global function from any `.vue` file and pass you arguments.

Issues and Contribution
-----------------------

[](#issues-and-contribution)

If you find any bug or problem please open an issue or create a pull request, Thanks!.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

2789d ago

Major Versions

1.0 → 2.02018-09-20

### Community

Maintainers

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

---

Top Contributors

[![MiloudiMohamed](https://avatars.githubusercontent.com/u/10816975?v=4)](https://github.com/MiloudiMohamed "MiloudiMohamed (7 commits)")

---

Tags

alertflash-messageslaravellaravelalertvue

### Embed Badge

![Health badge](/badges/devmi-flashy/health.svg)

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

###  Alternatives

[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

505550.3k6](/packages/masmerise-livewire-toaster)[awes-io/table-builder

A component that allows creating responsive HTML tables or lists from data object

4726.1k4](/packages/awes-io-table-builder)[riverskies/laravel-vue-component

Helper package to aid usage of Vue Components within Laravel projects

201.2k](/packages/riverskies-laravel-vue-component)

PHPackages © 2026

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