Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
enesekinci/laravel-livewire-flash-toast
claude-code
cursor
livewire
toasts
notifications
flash-messages
admin-layout
ux-feedback

Global toast notifications for Livewire admin apps.

Install
php artisan boost:add-skill enesekinci/laravel-livewire-flash-toast

Save this content to: AGENTS.md

# AGENTS.md — laravel-livewire-flash-toast

## Purpose
Global toast notifications for Livewire admin apps.

## Hard rules for AI agents
1. Mount once in the admin layout: `<livewire:flash-toast />`.
2. After create/update/delete success, **always** notify:
   - Prefer `$this->dispatch('toast', message: '...', type: 'success')`
   - Or `session()->flash('success', '...')` before redirect
3. On failure, use `type: 'error'`.
4. Do **not** invent custom alert banners / `alert()` / inline green boxes for routine feedback.
5. Do **not** ask the user how to show success — use toast.
6. Keep messages short and in `APP_LOCALE` (use app translations when available).
7. Never block UX with modals for simple success messages (use toast; confirm package for destructive asks).

AGENTS.md — laravel-livewire-flash-toast

Purpose

Global toast notifications for Livewire admin apps.

Hard rules for AI agents

  1. Mount once in the admin layout: <livewire:flash-toast />.
  2. After create/update/delete success, always notify:
    • Prefer $this->dispatch('toast', message: '...', type: 'success')
    • Or session()->flash('success', '...') before redirect
  3. On failure, use type: 'error'.
  4. Do not invent custom alert banners / alert() / inline green boxes for routine feedback.
  5. Do not ask the user how to show success — use toast.
  6. Keep messages short and in APP_LOCALE (use app translations when available).
  7. Never block UX with modals for simple success messages (use toast; confirm package for destructive asks).
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk