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

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

wjcms/laravel-alert
===================

laravel-alert,一个laravel信息提示的扩展包（A laravel alert composer package）

5.1.1(5y ago)119MITCSSPHP &gt;=7.0.0

Since Sep 4Pushed 5y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

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

[](#laravel-alert)

laravel-alert,一个 laravel 信息提示的扩展包（A laravel alert of composer package）

```
//laravel config/app.config
'providers' => [
    //添加如下一行
    wjcms\LaravelAlert\AlertServiceProvider::class,
],
'aliases' => [
        //添加如下一行
        'Alert' => wjcms\LaravelAlert\Facades\Alert::class,
]

```

拷贝相关文件到项目文件夹中
-------------

[](#拷贝相关文件到项目文件夹中)

```
php artisan vendor:publish --provider="wjcms\LaravelAlert\AlertServiceProvider"

```

v2.1.0 版本
---------

[](#v210-版本)

**更新** 添加回调 **优化** 优化回调方法

使用
--

[](#使用)

1. 在blade模版引入

```
@include('layout.alert.alert')

```

2. 控制器调用

```
use wjcms\LaravelAlert\Facades\Alert;

Alert::success('添加成功！');

```

鸣谢： toastr 更多样式参考：

在blade模版中自定义即可。

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

12

Last Release

2049d ago

Major Versions

1.1.1 → 2.1.02020-09-30

2.6.0 → 3.1.02020-09-30

3.9.1 → 4.6.12020-09-30

4.6.1 → 5.1.12020-09-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/0aa742f465e83c5d97e0a3045f00e48d22b9e56a01e5022ecdcdf64fc04d4295?d=identicon)[wjcms](/maintainers/wjcms)

---

Top Contributors

[![13149563301](https://avatars.githubusercontent.com/u/22705246?v=4)](https://github.com/13149563301 "13149563301 (13 commits)")

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

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