PHPackages                             kcdev/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. kcdev/laravel-alert

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

kcdev/laravel-alert
===================

a lightweight package to send alert messages

v1.0.0(6y ago)03MITPHPPHP ^7.4

Since Jan 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/amirmarmul/laravel-alert)[ Packagist](https://packagist.org/packages/kcdev/laravel-alert)[ Docs](https://github.com/amirmarmul/laravel-alert)[ RSS](/packages/kcdev-laravel-alert/feed)WikiDiscussions master Synced 1w ago

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

A lightweight package to send alert messages
============================================

[](#a-lightweight-package-to-send-alert-messages)

This is a lightweight package to send alert messages in Laravel apps.

This is how it can be used:

```
class MyController
{
    public function store()
    {
        // …

        alert('My message');

        return back();
    }
}
```

In your view you can do this:

```
@if (alert()->check())

        {{ alert()->message }}

@endif
```

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

[](#installation)

You can install the package via composer:

```
composer require kcdev/laravel-alert
```

Usage
-----

[](#usage)

Here is an example on how to alert a message.

```
class MyController
{
    public function store()
    {
        // …

        alert('My message');

        return back();
    }
}
```

In your view you can use it like this

```
@if(alert()->check())

        {{ alert()->message }}

@endif
```

### Displaying message

[](#displaying-message)

This is typically used to style the output in your HTML.

```
class MyController
{
    public function store()
    {
        // …

        alert()->success('My message');

        return back();
    }
}
```

In your view you can use like this:

```
@if (alert()->check())

        {{ alert()->message }}

@endif
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Amir Marmul](https://github.com/amirmarmul)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

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

Unknown

Total

1

Last Release

2307d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16517846?v=4)[Amir Marmul](/maintainers/amirmarmul)[@amirmarmul](https://github.com/amirmarmul)

---

Top Contributors

[![amirmarmul](https://avatars.githubusercontent.com/u/16517846?v=4)](https://github.com/amirmarmul "amirmarmul (3 commits)")

---

Tags

Laravel-Alertkcdev

### Embed Badge

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

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

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[illuminate/routing

The Illuminate Routing package.

1238.6M2.3k](/packages/illuminate-routing)[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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