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

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

bacao/alert
===========

laravel alert

v1.0(8y ago)019MITCSSPHP &gt;=5.5.9

Since Apr 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/song0223/laravel-pop-alert)[ Packagist](https://packagist.org/packages/bacao/alert)[ RSS](/packages/bacao-alert/feed)WikiDiscussions master Synced 2w ago

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

laravel-pop-alert
=================

[](#laravel-pop-alert)

laravel的flash消息插件有很多，但是不想很喜欢bootstrap的那种提示，所以自己稍微改造了下，加了个别的样式

用法：

```
composer require bacao/alert

```

然后再app.php添加：

```
'providers' => [
    ...
    Bacao\Alert\AlertProvider::class
 ]

```

当然也可以添加：

```
'aliases' => [
    ...
    'Alert'=>Bacao\Alert\Alert::class
]

```

执行：

```
php artisan vendor:publish --provider="Bacao\Alert\AlertProvider"

```

最后页面公共部分添加：

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

```

demo(四种样式可以选择):

```
user Bacao\Alert\Alert;
Alert::success('成功');
Alert::error('失败');
Alert::info('默认');
Alert::warning('警告');

```

最后！enjoy！
[![image](https://github.com/song0223/laravel-pop-alert/raw/master/%E6%BC%94%E7%A4%BA.gif)](https://github.com/song0223/laravel-pop-alert/blob/master/%E6%BC%94%E7%A4%BA.gif)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2991d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19651025?v=4)[东方不拔](/maintainers/song0223)[@song0223](https://github.com/song0223)

---

Top Contributors

[![song0223](https://avatars.githubusercontent.com/u/19651025?v=4)](https://github.com/song0223 "song0223 (16 commits)")

---

Tags

flashlaravelphppop

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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