Download the PHP package rayhan-bapari/notyfyre without Composer
On this page you can find all versions of the php package rayhan-bapari/notyfyre. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rayhan-bapari/notyfyre
More information about rayhan-bapari/notyfyre
Files in rayhan-bapari/notyfyre
Package notyfyre
Short Description A beautiful toast notification package for Laravel with modern design and title-only notifications
License MIT
Informations about the package notyfyre
Notyfyre - Beautiful Toast Notifications for Laravel
A beautiful, lightweight toast notification package for Laravel that provides an elegant way to display notifications to your users.
Features
- 🎨 Beautiful, customizable toast notifications
- 🚀 Easy to use both in PHP and JavaScript
- 📱 Responsive design
- ⚡ Lightweight and fast
- 🎯 Multiple notification types (success, error, warning, info)
- 🔧 Highly configurable
- 📍 Multiple positioning options
- ⏱️ Auto-close with progress bar at bottom
- 🎭 Smooth animations
- ✨ Clean, minimal design with title only
Requirements
- PHP 8.0 to 8.4
- Laravel 9. to 12.
Installation
You can install the package via Composer:
Publish Configuration (Optional)
Publish Assets
Publish Views (Optional)
Quick Setup
Add the following directives to your main layout file (e.g., resources/views/layouts/app.blade.php):
Usage
In Controllers (PHP)
In JavaScript
Available Positions
top-lefttop-center(default)top-rightbottom-leftbottom-centerbottom-right
Configuration Options
You can customize the default behavior in config/notyfyre.php:
Advanced Usage
Method Chaining
Custom Options Per Notification
Manual Asset Management
If you prefer to manage assets manually, set include_assets to false in the config and include the CSS and JS files yourself:
Using with AJAX
API Reference
PHP Methods
JavaScript Methods
Styling
The package comes with beautiful default styles, but you can customize them by overriding the CSS variables:
What's New in Version 2.0
- ✨ Redesigned with cleaner, more modern UI
- 🎯 Simplified API - title only (no description needed)
- 📍 Progress bar moved to bottom for better visibility
- 🎨 Improved animations and transitions
- 📱 Better responsive design
- 🔧 Streamlined configuration
Upgrading from 1.x to 2.x
Breaking Changes:
-
Method signatures changed - message/description removed:
-
JavaScript API updated:
- Progress bar now always at bottom -
loaderPositionconfig removed
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
The MIT License (MIT). Please see License File for more information.
Credits
Support
If you find this package helpful, please give it a ⭐ on GitHub!
All versions of notyfyre with dependencies
laravel/framework Version ^9.0|^10.0|^11.0|^12.0
vendor/package Version ^2.0