DEV Community

Cover image for ToastMagic — Laravel Toaster: Enhance Your Laravel App with Elegant Toast Notifications
Rabiul Islam
Rabiul Islam

Posted on

2 1

ToastMagic — Laravel Toaster: Enhance Your Laravel App with Elegant Toast Notifications

ToastMagic - Laravel Toaster: Enhance Your Laravel App with Elegant Toast Notifications

Introduction

Toast notifications play a crucial role in modern web applications, providing users with real-time feedback and improving the overall user experience. Introducing Laravel Toaster Magic – a powerful and flexible toast notification package designed specifically for Laravel applications.

Whether you want to notify users about successful actions, warnings, or errors, ToastMagic provides an intuitive and customizable solution. With support for RTL languages, dark mode, and seamless integration, this package is a must-have for Laravel developers.

🔥 Key Features

✅ Easy-to-Use Toaster Package

ToastMagic offers a simple API to trigger and manage notifications effortlessly within your Laravel application.

🌍 RTL Support

No more struggles with right-to-left (RTL) text alignment! ToastMagic ensures a smooth experience for users using Arabic, Hebrew, Persian, and other RTL languages.

🌙 Dark Mode Support

Dark mode is an essential feature for modern applications. With ToastMagic, your notifications adapt seamlessly to dark and light themes.

📦 Customizable Notifications

Personalize toast messages to fit your app’s branding. Modify themes, animations, positioning, and more with ease.

⚡ Real-Time Notifications

Integrate with Laravel Echo and WebSockets for live updates, making your notifications truly interactive.

Image description

🚀 Why Use Laravel Toaster Magic?

  • Lightweight & Fast: Minimal impact on performance.
  • Modern & Flexible: Designed for contemporary UI/UX standards.
  • Seamless Integration: Works effortlessly with Laravel projects.
  • Open-Source & Free: Actively maintained and improved by the community.

Image description

🛠️ Installation & Usage

Step 1: Install via Composer

composer require devrabiul/laravel-toaster-magic
Enter fullscreen mode Exit fullscreen mode

Step 2: Publish the package resources

php artisan vendor:publish --provider='Devrabiul\ToastMagic\ToastMagicServiceProvider'
Enter fullscreen mode Exit fullscreen mode

Step 3: Use in Your Blade Template

{!! ToastMagic::styles() !!}
Enter fullscreen mode Exit fullscreen mode

Step 3: Use in Your Blade Template

{!! ToastMagic::scripts() !!}
Enter fullscreen mode Exit fullscreen mode

🎯 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

Join the community, contribute, and take your Laravel app to the next level with ToastMagic! 🚀

Heroku

Built for developers, by developers.

Whether you're building a simple prototype or a business-critical product, Heroku's fully-managed platform gives you the simplest path to delivering apps quickly — using the tools and languages you already love!

Learn More

Top comments (0)

ACI image

ACI.dev: Fully Open-source AI Agent Tool-Use Infra (Composio Alternative)

100% open-source tool-use platform (backend, dev portal, integration library, SDK/MCP) that connects your AI agents to 600+ tools with multi-tenant auth, granular permissions, and access through direct function calling or a unified MCP server.

Check out our GitHub!