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 3w 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 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

2352d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M150](/packages/laravel-mcp)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)

PHPackages © 2026

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