mckenziearts/laravel-notify
Lightweight Laravel package for backend-driven toast notifications. Publish config/assets, drop in a Blade component, and trigger success/error/info messages from your app. Works great with Tailwind CSS and Alpine.js for smooth UI alerts.
Pros:
Cons:
notify()->[type]()->title()->send() in controllers/middleware.<x-notify::notify />) in layouts.session()->flash() or the notify() facade.composer require mckenziearts/laravel-notify
php artisan vendor:publish --tag=notify-config --tag=notify-assets
notify()->success()->title('Test')->send();
app.css to include @source directive.app.js.<x-notify::notify /> to the layout.npm run dev.@notifyCss and @notifyJs directives in the layout.public/vendor/mckenziearts/laravel-notify/dist/ is accessible.config/notify.php (e.g., default timeout, presets).notify() in controllers.Drake for alerts).laravel-notification-channels).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| JavaScript disabled | Notifications appear but don’t dismiss/animate. | Fallback: Use session()->flash() for critical messages. |
| Alpine.js version mismatch | Notifications break or mis |
How can I help you explore Laravel packages today?