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

ActivePackage

leandreaci/alerts
=================

A Alert package for Laravel

0983PHP

Since Jun 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/leandreaci/alert)[ Packagist](https://packagist.org/packages/leandreaci/alerts)[ RSS](/packages/leandreaci-alerts/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Alert package for Laravel 5+
----------------------------

[](#alert-package-for-laravel-5)

Laravel package to use the javascript NotyJs with Laravel Service Provider. Simple package, but effective.

\##Installation

```
composer require leandreaci/alerts *@dev

```

After install this package you have to set the service provider on your config/app.php file

```
Leandreaci\Alerts\AlertServiceProvider::class

```

Copy the required assets of SweetAlert to your public folder. Those assets would be place in the css and js respective directory.

```
php artisan vendor:publish --tag=alerts

```

Then in your master view add those styles and scripts. Put this style between the tags

```

```

Add the JS script before close your tag.

```

```

Include the alerts view to your master view. Add this code right after set the JS script file.

```
@include('Alerts::alerts')

```

\###Usage

On your controllers is a perfect place to use it, any way you can fire the alerts from jobs or events.

```
alert('Message');
alert()->success('Message');
alert()->info('Message');

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/45f4a07313cad5f63051982ce3860af6f7fe2ac19c1c001a0f979d5d1f9876ce?d=identicon)[leandreaci](/maintainers/leandreaci)

---

Top Contributors

[![leandreaci](https://avatars.githubusercontent.com/u/5915470?v=4)](https://github.com/leandreaci "leandreaci (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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