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! 🚀

Image of PulumiUP 2025

Explore What’s Next in DevOps, IaC, and Security

Join us for demos, and learn trends, best practices, and lessons learned in Platform Engineering & DevOps, Cloud and IaC, and Security.

Save Your Spot

Top comments (0)

Image of Stellar post

Check out Episode 1: How a Hackathon Project Became a Web3 Startup 🚀

Ever wondered what it takes to build a web3 startup from scratch? In the Stellar Dev Diaries series, we follow the journey of a team of developers building on the Stellar Network as they go from hackathon win to getting funded and launching on mainnet.

Read more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay