Download the PHP package jantinnerezo/livewire-alert without Composer
On this page you can find all versions of the php package jantinnerezo/livewire-alert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jantinnerezo/livewire-alert
More information about jantinnerezo/livewire-alert
Files in jantinnerezo/livewire-alert
Package livewire-alert
Short Description This package provides a simple alert utilities for your livewire components.
License MIT
Homepage https://github.com/jantinnerezo/livewire-alert
Informations about the package livewire-alert
Livewire Alert
Livewire Alert is a Laravel Livewire package that brings SweetAlert2 notifications to your Livewire components through a fluent, chainable API. Configure and trigger beautiful, interactive alerts with a clean PHP interface — no JavaScript required.
📖 Documentation
Full documentation, live examples, and an interactive playground are hosted at:
👉 https://livewire-alert.jantinnerezo.me
Every feature — icons, positions, toasts, timers, buttons, confirm dialogs, loading alerts, in-place updates, inputs, flash alerts, images, custom classes, dependency injection and more — is documented there with copy-pasteable snippets and runnable demos.
Requirements
- PHP 8.1 or higher
- Laravel 10.x or higher
- Livewire 3.x or 4.x
- Composer
Installation
Require the package with Composer:
Optionally publish the config file:
Install SweetAlert2 via npm or yarn:
Then import it in resources/js/app.js:
Or include it via CDN before the closing </body> tag:
Filament
Register SweetAlert2 as a Filament asset in your AppServiceProvider:
Quick taste
For everything else — head to the documentation site.
Looking for v3?
The last v3 release was v3.0.3 (March 11, 2024). v4 is a major refactor introducing the fluent Facade API, dependency injection, and many more features. For v3:
Upgrading to v4 is recommended for new and ongoing projects.
Testing
Contributors
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of livewire-alert with dependencies
livewire/livewire Version ^3.0|^4.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0