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.
Adopt when all of the following hold:
Look elsewhere when:
To executives: A low-cost, low-risk UI standardization. It replaces scattered, hand-written confirmation dialogs with one consistent pattern, which reduces a known class of accidental-destructive-action bugs and support tickets. No new infrastructure, no licensing cost, no vendor contract. The v0.21.0 release is maintenance-grade: it keeps us compatible with the current Symfony UX major version and modernizes the package's internal controller to TypeScript. There is nothing to migrate on our side.
To engineering: A composer-installable Symfony UX bundle wrapping SweetAlert2. v0.21.0 adds Symfony UX v3.0 compatibility and converts the Stimulus controller from JS to TypeScript — internal only, no public API or configuration changes, so the upgrade is a version bump. Usage is a Twig helper call. Two caveats to accept explicitly: it is Symfony-only (not usable from Blade/Livewire) and it is pre-1.0, single-maintainer, so pin the version, keep the adoption surface narrow, and note that our real dependency is the underlying SweetAlert2 API — the wrapper is replaceable if maintenance lapses.
How can I help you explore Laravel packages today?