PHPackages                             tonystore/livewire-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. tonystore/livewire-notification

ActivePackage

tonystore/livewire-notification
===============================

Laravel package to launch toast notifications.

v1.1.1(2y ago)104.3k1[2 issues](https://github.com/tony98ms/livewire-notification/issues)MITPHPPHP ^8.0

Since Aug 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/tony98ms/livewire-notification)[ Packagist](https://packagist.org/packages/tonystore/livewire-notification)[ RSS](/packages/tonystore-livewire-notification/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

Laravel package to launch toast notifications.
==============================================

[](#laravel-package-to-launch-toast-notifications)

[![Latest Stable Version](https://camo.githubusercontent.com/a3b7dc3a14942bede34eae4f05f445bcdfd1d1953c7f90294c8373d731e27c9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f6e7973746f72652f6c697665776972652d6e6f74696669636174696f6e3f6c6162656c3d76657273696f6e)](https://packagist.org/packages/tonystore/livewire-notification)[![Packagist Downloads](https://camo.githubusercontent.com/27214d9e1737511384f85ba96e228870ef64f3a8c6fa45bb41770e0d190a08ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6e7973746f72652f6c697665776972652d6e6f74696669636174696f6e)](https://packagist.org/packages/tonystore/livewire-notification)[![License](https://camo.githubusercontent.com/857580e36d4193741da6f6cb0c5df300e676b2f9a55b814251532660ad503be5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f6e7973746f72652f6c697665776972652d6e6f74696669636174696f6e)](https://packagist.org/packages/tonystore/livewire-notification)[![PHP Version Require](https://camo.githubusercontent.com/d2190e476f9d9526a042e15ad79ea6c9d4ab90ea8ea42a28f20fdef7c395b698/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f746f6e7973746f72652f6c697665776972652d6e6f74696669636174696f6e2f706870)](https://packagist.org/packages/tonystore/livewire-notification)

This package provides assistance when using toast notifications. Using the [iziTOAST](https://izitoast.marcelodolza.com/) package, which allows us to launch elegant and responsive notifications, having the facility to apply a number of configurations that you will find available on their [official site](https://izitoast.marcelodolza.com/) .

REQUIREMENTS
------------

[](#requirements)

- [PHP &gt;= 7.2](http://php.net/)
- [Laravel 7|8](https://laravel.com/)
- [Livewire](https://laravel-livewire.com/)
- [iziTOAST](https://izitoast.marcelodolza.com/)

INSTALLATION VIA COMPOSER
-------------------------

[](#installation-via-composer)

### Step 1: Composer

[](#step-1-composer)

Run this command line in console.

```
composer require tonystore/livewire-notification
```

### Step 2: Include component

[](#step-2-include-component)

Add the [iziTOAST](https://izitoast.marcelodolza.com/) CDN styles and script, and the component containing the script to launch the notifications.

```

    ...
    @livewireScripts
    ...

    ...

    //INSERT COMPONENT

    //OR

    @component('livewire-notification::components.toast') @endcomponent

```

Publish Config File
-------------------

[](#publish-config-file)

```
php artisan vendor:publish --provider="Tonystore\LivewireNotification\LivewireNotificationProvider" --tag="config"
```

### Default configuration

[](#default-configuration)

```
//config/livewire-notification

return [
    'toast' => [
        'title' => '', //Defaut Title
        'position' => 'topRight', //Defaut Position
        'timeout' => 3000, //Display Time
        'modal' => null, //Very important, it defines if an event is triggered to close a Bootstrap modal.
    ],
```

Usage
-----

[](#usage)

Now, in any Livewire component, you can launch notifications. To launch a notification you can choose between the different types available:

- success
- info
- error
- warning

Example 1
---------

[](#example-1)

Launch a simple notification with a personalized message.

```
$this->alert(
        'success',
        'Example of notification.',
        );

```

Example 2
---------

[](#example-2)

Example of notification with modal event.

```
$this->alert('info','Example of notification with modal event', [
        'modal' => '#hideModal'
    ]
);
```

To use more configurations, you can check the documentation on their [official site](https://izitoast.marcelodolza.com/) .

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~175 days

Total

6

Last Release

815d ago

PHP version history (2 changes)v1.0.0PHP ^7.2.5|^8.0

v1.1.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/23fe79ab8da7327c5e45ef526098c61a91aceb6829d09f15976cfa063c3a0829?d=identicon)[tonystore](/maintainers/tonystore)

---

Top Contributors

[![tony98ms](https://avatars.githubusercontent.com/u/62909225?v=4)](https://github.com/tony98ms "tony98ms (11 commits)")

---

Tags

tonystorelivewire-notificationlivewire-toast

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tonystore-livewire-notification/health.svg)

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

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[power-components/livewire-powergrid

PowerGrid generates Advanced Datatables using Laravel Livewire.

1.7k1.7M6](/packages/power-components-livewire-powergrid)[livewire/flux

The official UI component library for Livewire.

9385.0M85](/packages/livewire-flux)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[jantinnerezo/livewire-alert

This package provides a simple alert utilities for your livewire components.

8041.2M20](/packages/jantinnerezo-livewire-alert)[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)

PHPackages © 2026

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