Download the PHP package devrabiul/laravel-toaster-magic without Composer
On this page you can find all versions of the php package devrabiul/laravel-toaster-magic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devrabiul/laravel-toaster-magic
More information about devrabiul/laravel-toaster-magic
Files in devrabiul/laravel-toaster-magic
Package laravel-toaster-magic
Short Description Laravel Toaster Magic is a lightweight, flexible toast library for Laravel projects, with no jQuery, Bootstrap, or Tailwind dependency.
License MIT
Homepage https://github.com/devrabiul/laravel-toaster-magic
Informations about the package laravel-toaster-magic
ToastMagic - Laravel Toaster
A powerful and flexible Toaster package for Laravel applications, designed to enhance user experience with customizable toast notifications.
Features
- 🔥 Easy-to-Use Toaster Package – Simple and intuitive file management for Laravel.
- 🌍 RTL Support – Fully compatible with right-to-left (RTL) languages.
- 🌙 Dark Mode Support – Seamless dark mode for a better user experience.
- 📦 Customizable Notifications – Tailor toast messages to fit your application's needs.
Installation
To get started with ToastMagic, follow these simple steps:
-
Install the package via Composer:
- Publish the package resources by running:
Usage
1. Basic Setup
Integrate ToastMagic into your Blade template by adding the following includes:
-
Add the styles in your
<head>
section: -
Add the scripts before the closing
<body>
tag: - Example:
2. Usage in Controller
You can trigger toast notifications from your Laravel controller using the ToastMagic
facade.
3. Usage in JavaScript (Optional - For AJAX calls)
Toast Position Options
You can configure the position of the toast notifications using the following options:
Position | Description |
---|---|
toast-top-start |
Displays toast in the top left corner. |
toast-top-end |
Displays toast in the top right corner. |
toast-bottom-start |
Displays toast in the bottom left corner. |
toast-bottom-end |
Displays toast in the bottom right corner. |
toast-top-center |
Displays toast at the top center. |
toast-bottom-center |
Displays toast at the bottom center. |
🎯 Get Started Today!
Experience the magic of ToastMagic and enhance your Laravel applications with elegant toast notifications.
🔗 GitHub: Laravel Toaster Magic
🔗 Website: laravel-toaster-magic.rixetbd.com
🔗 Packagist: https://packagist.org/packages/devrabiul/laravel-toaster-magic
Contributing
We welcome contributions to ToastMagic! If you would like to contribute, please fork the repository and submit a pull request. For any issues or feature requests, please open an issue on GitHub.
License
This package is open-sourced software licensed under the MIT license.
Contact
For support or inquiries, please reach out to us at Send Mail.