PHPackages                             f1uder/laravel-notification - 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. f1uder/laravel-notification

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

f1uder/laravel-notification
===========================

Laravel Livewire Notification (+ AlpineJS)

1.2.1(2y ago)3210MITBladePHP ^8.0|^8.1

Since Aug 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/f1uder/laravel-notification)[ Packagist](https://packagist.org/packages/f1uder/laravel-notification)[ Docs](https://github.com/f1uder/laravel-notification)[ RSS](/packages/f1uder-laravel-notification/feed)WikiDiscussions master Synced 3d ago

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

Laravel Livewire Notification (+ AlpineJS)
==========================================

[](#laravel-livewire-notification--alpinejs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d1891eae4e543d18234c7ea6f5b517b672a403110593559f80cd39f6ba421bda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6631756465722f6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/f1uder/laravel-notification)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e7f10b46f7d436c79b43632f9fb621382c46e3f6c50ca7e03fbe2a545b25ffcd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6631756465722f6c61726176656c2d6e6f74696669636174696f6e2f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/f1uder/laravel-notification/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/785f9c14a4b1ab3b8b4a0cd0ff9b2505a48271b6c30d9dbc7110d2d252be8673/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6631756465722f6c61726176656c2d6e6f74696669636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/f1uder/laravel-notification)

[![Laravel Livewire Notification](https://camo.githubusercontent.com/b0791a0069600d064397868a6224290a82a8ae56947adc93230f4831c5983579/68747470733a2f2f6e726f782e72752f696d616765732f6c61726176656c2d6e6f74696669636174696f6e2e6a7067)](https://camo.githubusercontent.com/b0791a0069600d064397868a6224290a82a8ae56947adc93230f4831c5983579/68747470733a2f2f6e726f782e72752f696d616765732f6c61726176656c2d6e6f74696669636174696f6e2e6a7067)

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

[](#installation)

You can install the package via composer:

```
composer require f1uder/laravel-notification
```

Publish the config file with:

```
php artisan vendor:publish --tag="laravel-notification"
```

Add css file (notification.css)

```
@import "../../public/vendor/laravel-notification/css/notification.css";

@tailwind base;
@tailwind components;
@tailwind utilities;
```

Add code to template, after body tag

```

  ...

```

Usage Laravel
-------------

[](#usage-laravel)

```
return redirect('/')->notice('message text', 'alert');
```

```
return redirect()->route('home')->notice('message text', 'info');
```

Usage Livewire component
------------------------

[](#usage-livewire-component)

```
$this->notice('message text', 'alert');
```

```
return redirect('/')->notice('message text', 'alert');
```

Usage alpineJS
--------------

[](#usage-alpinejs)

```
$dispatch('notice', {message: 'message text', type: 'alert'});
```

Arguments
---------

[](#arguments)

Usage: `notice($message, $type, $timer, $title)`

- `$message` - Message.
- `$type` - Notification type.
    - `alert`
    - `info` - default
    - `success`
- `$timer` - 3000 default = 3 sec.
- `$title` - Notification header. Default = null.

Config
------

[](#config)

`config/notification.php`

- `$timer` - Notification display time in seconds.
- `$position` - Notification position.
    - `tr` - Top right (default).
    - `tl` - Top left.
    - `br` - Bottom right.
    - `bl` - Bottom left.

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

1089d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a96114739f08c2c6b7c0ea971b9ae6657914d78dc077ea4b5b117dea77f99f18?d=identicon)[f1uder](/maintainers/f1uder)

---

Top Contributors

[![f1uder](https://avatars.githubusercontent.com/u/27144577?v=4)](https://github.com/f1uder "f1uder (10 commits)")

---

Tags

alpinejslaravellivewirenoticetoast-notificationslaravelnotificationlivewire

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/f1uder-laravel-notification/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

Flexible flash notifications for Laravel

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

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[brian2694/laravel-toastr

toastr.js for Laravel

136649.4k5](/packages/brian2694-laravel-toastr)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)

PHPackages © 2026

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