PHPackages                             airoinfo/laravel-alert - 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. airoinfo/laravel-alert

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

airoinfo/laravel-alert
======================

A simple PHP package to show alerts with the Laravel Framework and Vue

2.0.2(5y ago)04191MITPHPPHP ^5.6|^7.0|^8.0

Since Oct 4Pushed 5y ago2 watchersCompare

[ Source](https://github.com/airoinfo/laravel-alert)[ Packagist](https://packagist.org/packages/airoinfo/laravel-alert)[ RSS](/packages/airoinfo-laravel-alert/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

Laravel-alert
=============

[](#laravel-alert)

This package is base on Laravel Framwork 、Vue and Element UI also optional support vue-notification Easy to create awesome notify view and Laravel Facade to call on backend

Install
=======

[](#install)

*Important* make sure your larval project’s Vue and Element UI is working fine.

Use composer to install package

```
$ composer require airoinfo/laravel-alert
```

*notice* if your Laravel version is beyond 5.6, package’ll auto register ServiceProvider to app.php. But if your version is above 5.6, you’ve to register by yourself.

config/app.php

```
'provider' => [
	// package ServiceProvider
	Airo\Alert\AlertServiceProvider::class,
]
```

```
'alias' => [
	'Alert' => Airo\Alert\AlertFacade::class,
]
```

Setup
=====

[](#setup)

### 1. Published vendor

[](#1-published-vendor)

In this package, we already provide blade and Vue component. You can use it by default, or also create your own to catch the message

Publish View Blade to resource\\vendor\\notify

```
$ php artisan vendor:publish --tag=views --force
```

Publish Vue component to resource\\js\\components

```
$ php artisan vendor:publish —-tag=components --force
```

### 2. Register your Vue component

[](#2-register-your-vue-component)

e.g resource\\js\\app.js

```
Vue.component('notify-component', require('./components/NotifyComponent.vue'));
```

### 3. Include notify blade to your layout

[](#3--include-notify-blade-to-your-layout)

e.g views\\layouts\\app.blade.php

```
@include('alert::notify')
```

### 4. Use it in Controller

[](#4-use-it-in-controller)

```
use Airo\Alert\AlertFacade;
class HomeController
{
	public function login()
	{
		//when Login success
		Alert::success(['message1', 'message2', '...']);

		//when login fail
		Alert::errors(['message1', 'message2', '...']);
	}
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 56.5% 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 ~130 days

Recently: every ~196 days

Total

7

Last Release

1991d ago

Major Versions

1.0.9 → 2.0.12020-03-12

PHP version history (2 changes)2.0.1PHP ^5.6|^7.0

2.0.2PHP ^5.6|^7.0|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b986783e883adeb8080b66d773efe64a38f9158db67cb1cea6e5f1348bb8d7a?d=identicon)[airoinfo](/maintainers/airoinfo)

---

Top Contributors

[![tinghom](https://avatars.githubusercontent.com/u/16273308?v=4)](https://github.com/tinghom "tinghom (13 commits)")[![imxd](https://avatars.githubusercontent.com/u/17986878?v=4)](https://github.com/imxd "imxd (9 commits)")[![flamelin](https://avatars.githubusercontent.com/u/339450?v=4)](https://github.com/flamelin "flamelin (1 commits)")

---

Tags

laravelnotifieralert

### Embed Badge

![Health badge](/badges/airoinfo-laravel-alert/health.svg)

```
[![Health](https://phpackages.com/badges/airoinfo-laravel-alert/health.svg)](https://phpackages.com/packages/airoinfo-laravel-alert)
```

###  Alternatives

[realrashid/sweet-alert

Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.

1.2k2.9M21](/packages/realrashid-sweet-alert)[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

505550.3k6](/packages/masmerise-livewire-toaster)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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