nawasara/toaster
Lightweight Alpine-powered toast notifications for Laravel and Livewire. Add one component to your layout and trigger success/error/warning/info toasts from JavaScript, Livewire, or session flash. Configurable position, optional progress bar, dark-mode aware.
window.Toast.success() for this flow") and reduces merge conflicts from ad-hoc toast implementations.session()->flash('status', ...)) conflict with the package’s auto-loading behavior.*"This package lets us deliver instant, polished user feedback—like a ‘saved successfully’ pop-up—across the entire app without custom development work. It’s lightweight, works on mobile and dark mode, and integrates seamlessly with our Livewire workflows. Think of it as a ‘toast notification autopilot’ that:
*"Nawasara/Toaster is a drop-in solution for Laravel/Livewire apps that gives you:
Auth::login()).HasBrowserToast (requires nawasara/ui).composer require nawasara/toaster.<x-nawasara-toaster::script />
<x-nawasara-toaster::toaster position="top-right" />
window.Toast.success('Saved!');
session()->flash('toast', ['type' => 'error', 'message' => 'Oops!']);
Pros:
nawasara/ui.
Perfect for forms, API responses, or workflow feedback. If you need custom animations later, we can fork it."**"This package gives us a consistent, modern toast notification system that:
// Override default styles
window.Alpine.store('toaster', {
defaultOptions: {
position: 'bottom-center',
duration: 4000,
},
});
```"*
How can I help you explore Laravel packages today?