PHPackages                             ppranav/snack-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. ppranav/snack-alert

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

ppranav/snack-alert
===================

Snack Alert is a simple, lightweight package that allows you to easily display alerts on your Laravel Livewire powered application. With just a line of code, you can quickly and easily add alert notifications to your livewire components.

v1.0.2(3y ago)025MITBladePHP ^7.2.5|^8.0

Since Oct 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ppranav164/SnackAlert)[ Packagist](https://packagist.org/packages/ppranav/snack-alert)[ RSS](/packages/ppranav-snack-alert/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Snack Alert
===========

[](#snack-alert)

Snack Alert is a simple, lightweight package that allows you to easily display alerts on your Laravel Livewire powered application. With just a line of code, you can quickly and easily add alert notifications to your livewire components.

Screenshots
-----------

[](#screenshots)

[![App Screenshot](https://raw.githubusercontent.com/ppranav164/SnackAlert/main/screenshot.gif)](https://raw.githubusercontent.com/ppranav164/SnackAlert/main/screenshot.gif)

Getting Started
===============

[](#getting-started)

Prerequisites

- Jquery
- Tailwind CSS
- Laravel Livewire

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

[](#installation)

Install via composer

```
composer require ppranav/snack-alert
```

Add front-end component in a template

```

```

Add styles component in a template

```

```

Send a Alert in a livewire component class

```
SnackAlert::setAlert(‘Example Title’, ‘Example Message’, 'success')->show($this);
```

Code Reference
--------------

[](#code-reference)

#### setAlert($title, $message, $signal)-&gt;show($this)

[](#setalerttitle-message-signal-showthis)

ParameterTypeDescription`title``string`**Required**. Alert title`message``string`**Required**. Alert Message`signal``string`**Required**. success, warning, info, error#### show($this)

[](#showthis)

ParameterTypeDescription`context``\Livewire\Component`**Required**. Livewire component classLicense
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

3

Last Release

1253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d5d5c448a3e34dc5bc2f93d94c2282873e4142a4a86966232b325bd84c729bd?d=identicon)[ppranav164](/maintainers/ppranav164)

---

Top Contributors

[![ppranav164](https://avatars.githubusercontent.com/u/20520086?v=4)](https://github.com/ppranav164 "ppranav164 (17 commits)")

### Embed Badge

![Health badge](/badges/ppranav-snack-alert/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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