PHPackages                             ken/flash-me - 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. ken/flash-me

ActiveLibrary

ken/flash-me
============

Simple flash alert for Laravel

0.0.4(8y ago)16204MITPHPPHP &gt;=5.6CI failing

Since Oct 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kenhyuwa/flash-me)[ Packagist](https://packagist.org/packages/ken/flash-me)[ RSS](/packages/ken-flash-me/feed)WikiDiscussions master Synced 2d ago

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

Simple Flash Alert for Laravel
==============================

[](#simple-flash-alert-for-laravel)

[![FlashMe](https://camo.githubusercontent.com/5b4e9fb1fd2d726fc2f34176dc35197b25e6070256387ae4c219f452aa316b6e/68747470733a2f2f73312e706f7374696d672e6f72672f3578757a74667871666a2f666c6173682d6d652e706e67)](https://postimg.org/image/7bhixh8sgb/)Flash Alert for Laravel, Elegant, responsive, flexible and lightweight notification plugin with no dependencies, simple and easy to use

Getting Started
---------------

[](#getting-started)

How to use this packages

### Installing

[](#installing)

```
composer require ken/flash-me
```

and

```
php artisan vendor:publish --tag="flashMe"
```

Optional Setting
----------------

[](#optional-setting)

config/flash\_me.php

```
/**
 * Change this /path if you load assets from local
 * example 'css' => asset('/css/app.css'),
 */
return [
	'css' => 'https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.1.5/css/iziToast.min.css',
	'js' => 'https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.1.5/js/iziToast.min.js',
];
```

resources/lang/en/flash\_me.php

```
return [
	'success' => [
		'type' => 'success',
		'title' => 'Hi...',
		'message' => 'FlashMe is Ready!',
		'options' => [
			'position' => 'topRight', // this is an example option, you can add another option
			'transitionIn' => 'bounceInLeft',
    			'transitionOut' => 'fadeOut',
		],
	],
	'info' => [
		'type' => 'info',
		'title' => 'Hi...',
		'message' => 'FlashMe is Ready!',
		'options' => [
			'position' => 'topRight', // this is an example option, you can add another option
			'transitionIn' => 'bounceInLeft',
    			'transitionOut' => 'fadeOut',
		],
	],
	'warning' => [
		'type' => 'warning',
		'title' => 'Hi...',
		'message' => 'FlashMe is Ready!',
		'options' => [
			'position' => 'topRight', // this is an example option, you can add another option
			'transitionIn' => 'bounceInLeft',
    			'transitionOut' => 'fadeOut',
		],
	],
	'error' => [
		'type' => 'error',
		'title' => 'Hi...',
		'message' => 'FlashMe is Ready!',
		'options' => [
			'position' => 'topRight', // this is an example option, you can add another option
			'transitionIn' => 'bounceInLeft',
    			'transitionOut' => 'fadeOut',
		],
	],
];
```

other options can use

```
	id: null,
	class: '',
	title: '',
	titleColor: '',
	titleSize: '',
	titleLineHeight: '',
	message: '',
	messageColor: '',
	messageSize: '',
	messageLineHeight: '',
	backgroundColor: '',
	theme: 'light', // dark
	color: '', // blue, red, green, yellow
	icon: '',
	iconText: '',
	iconColor: '',
	image: '',
	imageWidth: 50,
	maxWidth: null,
	zindex: null,
	layout: 1,
	balloon: false,
	close: true,
	closeOnEscape: false,
	rtl: false,
	position: 'bottomRight', // bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter, center
	target: '',
	targetFirst: true,
	toastOnce: false,
	timeout: 5000,
	animateInside: true,
	drag: true,
	pauseOnHover: true,
	resetOnHover: false,
	progressBar: true,
	progressBarColor: '',
	progressBarEasing: 'linear',
	overlay: false,
	overlayClose: false,
	overlayColor: 'rgba(0, 0, 0, 0.6)',
	transitionIn: 'fadeInUp',
	transitionOut: 'fadeOut',
	transitionInMobile: 'fadeInUp',
	transitionOutMobile: 'fadeOutDown',

```

Usage
-----

[](#usage)

How to use if you will send flash alert to view? example if this is controller on your project

```
public function testFlash()
{
	flashMe()->success();
	return view('your_view');
}
```

Another function
----------------

[](#another-function)

```
flashMe()->success();
flashMe()->info();
flashMe()->warning();
flashMe()->error();
```

Display
-------

[](#display)

you can display on your master template or single blade, before end of body tag

```
@if (flashMe()->ok())
  {!! flashMe_flash() !!}
@endif
```

Built With
----------

[](#built-with)

- [IziToast](http://izitoast.marcelodolce.com/) - IziToast

Demo
----

[](#demo)

- [DEMO](http://izitoast.marcelodolce.com/)

Contributing
------------

[](#contributing)

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE.md file for details

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~0 days

Total

4

Last Release

3127d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95446e8ca567db045101811187bc6c73a34c4a55ef794a34ab99eab75102e7df?d=identicon)[kenhyuwa](/maintainers/kenhyuwa)

---

Top Contributors

[![kenhyuwa](https://avatars.githubusercontent.com/u/17788063?v=4)](https://github.com/kenhyuwa "kenhyuwa (5 commits)")[![saputrabager](https://avatars.githubusercontent.com/u/35604918?v=4)](https://github.com/saputrabager "saputrabager (1 commits)")

---

Tags

flash-message-laravellaravel-flash

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ken-flash-me/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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