NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3301 most downloaded on Packagist
This package provides a simple alert utilities for your livewire components.
Last release 4 months ago
18 May 2026
Release timing varies
gaps range from 9 days to 12 months
Some releases are documented
notes for 10 of 39 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
39 releases · first in 2020
v4.2.0 — Drive loading spinners and live alert updates straight from PHP
Three new methods give your Livewire components server-driven control over an open alert — no more close-and-reopen flicker.
asLoading(?string $title = null) — preset for non-dismissable spinne and backdrop clicks; triggers Swal.showLoading() on open. Default title'Loading...', override with a string argument.LivewireAlert::title('Saving...')->asLoading()->show();close() — dismiss the current alert from the server.LivewireAlert::close();update(?array $options = null) — mutate the open alert in place via Swal.update(). Two forms:Fluent — only explicitly-set options emitted, config defaults not merged:
LivewireAlert::title('Almost done')->text('90%')->update();Explicit payload:
LivewireAlert::update([
'title' => 'Almost done',
'text' => '90%',
]);No-op (with console warning) when no alert is visible. Guards run before calal` no longer throws.
Pair asLoading() + wire:poll + update() to drive Bus::batch() progreany phased task — all from PHP, with the alert updating live.
Alertable interface extended with the three new methods (additive — no break).
Full Changelog: v4.2.0...v4.2.0
One column per quarter.
Fixed Livewire 4 compatibility - Resolved MethodNotFoundException: Public method [toJSON] not found on component when using the package with Livewire
Bug Fixes
$wire.call() not being handled correctly by Livewire 4's $wire proxy. It now uses $wire[action]() which works on both Livewire 3 and 4.New Methods
timerProgressBar() - Show a visual countdown progress barasToast() - Ready-to-use toast preset (top-end, timer from config, progress bar enabled)customClass(array $classes) - Apply custom CSS classes to any part of the alertreverseButtons() - Swap confirm and cancel button positionsInput Methods
Dedicated methods for collecting user input directly within an alert:
withTextInput(), withEmailInput(), withPasswordInput(), withNumberInput(), withTextareaInput()withSelectInput(), withRadioInput(), withCheckboxInput(), withFileInput()Nothing published for this version
Added Livewire 4 support
Added Livewire 4 support
Update README.md by @jantinnerezo in #174
Full Changelog: v4.0.6...v4.0.7
Added allowOutsideClick method with boolean type parameter "allowed" default is true
allowOutsideClick method with boolean type parameter "allowed" default is trueallowEscapeKey method with boolean type parameter "allowed" default is truenull parameter type on timer methodFor example, if you don't want to close alert on outside click, escape key and disable auto close.
LivewireAlert::question()
->title("Are you sure do you want to approve proposal?")
->allowOutsideClick(false) // new method
->allowEscapeKey(false) // new method
->timer(null) // You can pass null now instead of only integer and that disables auto closingFull Changelog: 4.0.5...v4.0.6
LivewireAlert:: title ( ' New html function! ' ) -> html ( " <p><strong>You should try it out!</strong></p> " ) -> show ();
html functionLivewireAlert::title('New html function!')
->html("<p><strong>You should try it out!</strong></p>")
->show();Full Changelog: v4.0.4...4.0.5
Feat: add comments to the alert facade to phpstan and editors understand by @juanjoballesteros in #167
Full Changelog: v4.0.3...v4.0.4
Fixed: onDeny method triggers onConfirm automatically by @jantinnerezo in #164
Full Changelog: v4.0.2...v4.0.3
Fixed eval option typo Full Changelog : v4.0.1...v4.0.2
Full Changelog: v4.0.1...v4.0.2
Nothing published for this version
Nothing published for this version
Compare
Compare
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →