pentiminax/ux-sweet-alert
A Symfony UX integration for SweetAlert2 that lets you trigger polished alerts, confirmations, and toasts from PHP or Twig. It provides simple helpers and Stimulus-powered behavior so you can add rich, interactive dialogs without writing custom JavaScript.
pentiminax/ux-sweet-alert is a Symfony UX package, not a native Laravel package. It integrates SweetAlert2 via a Stimulus controller and a Twig extension. A Laravel application would need to bridge Twig templates to Blade, register the Stimulus controller through Laravel’s asset pipeline (Vite/Mix), and replace Twig helpers with custom Blade directives or direct JavaScript calls. Fit is moderate for teams already using Stimulus (e.g., with Livewire/Alpine) but low for standard Blade‑only stacks.realrashid/sweet-alert) is likely a faster, lower‑risk path.alert() or existing flash messages) to avoid regressions.npm run build. Laravel Vite users can consume the Stimulus controller, but Laravel Mix users may need extra configuration. No official Laravel support is indicated.resources/js/app.js.How can I help you explore Laravel packages today?