Download the PHP package ab01faz101/tail-alert without Composer
On this page you can find all versions of the php package ab01faz101/tail-alert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ab01faz101/tail-alert
More information about ab01faz101/tail-alert
Files in ab01faz101/tail-alert
Package tail-alert
Short Description A lightweight and responsive alert package for Laravel Livewire, built with Tailwind CSS.
License MIT
Informations about the package tail-alert
Tail Alert - Livewire Toast Notifications 🚀
Tail Alert is a lightweight Livewire alert package for Laravel, providing stylish toast notifications built with Tailwind CSS. It helps you display modern notifications easily in any Livewire component.
📦 Installation & Links
- GitHub Repo: Tail Alert on GitHub
- Packagist: Tail Alert on Packagist
🚀 Why Use Tail Alert?
- No need for extra JavaScript libraries
- Works seamlessly with Livewire
- Uses Tailwind CSS for modern designs
- Lightweight and fast 🚀
Features
✔ Modern and minimal design with Tailwind
✔ Fully compatible with Livewire
✔ Supports different alert types (success, warning, error, info)
Preview
🛠️ Installation
You can install the package via composer:
Add the following codes to your custom style or app.css.
Next, add the scripts component to your template after the @livewireScripts.
Add this line of code to your Livewire component.
Note: This package requires Tailwind CSS to be installed in your project.
🔔 Usage
You can use Tail Alert by using the AlertTrait trait.
In your Livewire component, you can trigger an alert like this:
💡 The type can be success
, error
, warning
, or info
.
🔍 Keywords
Livewire Toast Notifications, Laravel Alerts, Tailwind CSS Alerts, Livewire Notifications, Laravel Toast
License
This package is released under the MIT License.