Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-livewire-flash-toast maintained by enesekinci

Description
Toast notifications for Laravel Livewire (session flash + events).
Author
Last update
2026/08/28 13:02 (dev-main)
License
Downloads
9

Comments
comments powered by Disqus

Laravel Livewire Flash Toast

Session flash + Livewire event toasts.

Install

composer require enesekinci/laravel-livewire-flash-toast:^1.0

Layout (once):

<livewire:flash-toast />

Usage

session()->flash('success', 'Kaydedildi.');
session()->flash('error', 'Hata.');

$this->dispatch('toast', message: 'Kaydedildi.', type: 'success');
$this->dispatch('notify', message: 'Silindi.', type: 'error');

Types: success, error, warning, info.

License

MIT