PHPackages                             seguce92/alerts - 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. seguce92/alerts

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

seguce92/alerts
===============

Alert pNotify plugin, flash alerts integrated in Laravel.

v1.4.2(6y ago)1352MITPHPPHP &gt;=5.3

Since Sep 8Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (0)

Alerts
======

[](#alerts)

Alerts is a package for show alerts with pNotify jQuery plugin Bootstrap.

Alerts requires PHP &gt;= 5.3, laravel 5.3.*|5.4.*|5.5.*|5.6.*|5.8.\*

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

[](#installation)

You can install the package for your Laravel 5 project through Composer.

```
$ composer require seguce92/alerts
```

Register the service provider in `app/config/app.php`.

```
'Seguce92\Alerts\AlertsServiceProvider',
```

Add the alias to the list of aliases in `app/config/app.php`.

```
'Alerts' => 'Seguce92\Alerts\Facades\Alert',
```

Then run a few commands in the terminal:

```
$ php artisan vendor:publish
```

Configuration
-------------

[](#configuration)

Set icon to true to use the default icon for the selected style/type, false for no icon, or a string for your own icon class.

```
'icon'	=>	true,
```

What styling classes to use. (Can be either "brighttheme", "jqueryui", "bootstrap2", "bootstrap3", "fontawesome", or a custom style object. See the source in the end of pnotify.js for the properties in a style object.)

```
'styling'	=>	'bootstrap3',
```

Delay in milliseconds before the notice is removed.

```
'delay'	=>	'8000',
```

Whether to escape the content of the text. (Not allow HTML.)

```
'text_escape'	=>	false,
```

Display a drop shadow.

```
'shadow'	=>	false,
```

Opacity of the notice.

```
'opacity'	=>	1,
```

notification type \[desktop, normal\]

```
'desktop'	=>	false
```

Basic Usage
-----------

[](#basic-usage)

Controllers.php or `routes/web.php`

```
Alert::info('description')->flash();

Alert::success('description')->flash();

Alert::warning('description')->flash();

Alert::error('description')->flash();
```

View.php

add function before of section script

- bootstrap.min.css or font-awesome.min.css
- jquery.min.js

```

{!! Alerts::all() !!}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

2515d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7014932?v=4)[Sergio G. Cruz Espinoza](/maintainers/seguce92)[@seguce92](https://github.com/seguce92)

---

Top Contributors

[![seguce92](https://avatars.githubusercontent.com/u/7014932?v=4)](https://github.com/seguce92 "seguce92 (5 commits)")

---

Tags

laravelbootstrapflash messagepnotify

### Embed Badge

![Health badge](/badges/seguce92-alerts/health.svg)

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

###  Alternatives

[anahkiasen/former

A powerful form builder

1.4k1.4M14](/packages/anahkiasen-former)[patricktalmadge/bootstrapper

Twitter Bootstrap markup generator

557407.2k4](/packages/patricktalmadge-bootstrapper)[rinvex/laravel-menus

Rinvex Menus is a simple menu builder package for Laravel, that supports hierarchical structure, ordering, and styling with full flexibility using presenters for easy styling and custom structure of menu rendering.

294.0k20](/packages/rinvex-laravel-menus)[nguyendachuy/laravel-menu

Laravel Menu Builder | Drag &amp; Drop | Bootstrap | Laravel 7 | Laravel 8 | Laravel 9 | Laravel 10 | Laravel 11 | Laravel 12

162.2k](/packages/nguyendachuy-laravel-menu)

PHPackages © 2026

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