PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.
php-flasher/flasher-noty is a Laravel package for phpflasher - a powerful & easy-to-use package for adding flash messages to laravel or symfony projects. provides feedback to users, improves engagement & enhances user experience. intuitive design for beginners & experienced developers. a reliable, flexible solution..
It currently has 6 GitHub stars and 1.028.690 downloads on Packagist (latest version v2.6.3).
Install it with composer require php-flasher/flasher-noty.
Discover more Laravel packages by php-flasher
or browse all Laravel packages to compare alternatives.
Last updated
Noty adapter for PHPFlasher. Feature-rich notification library with queue support.
composer require php-flasher/flasher-noty
// Basic usage
noty('Operation completed successfully!', 'success');
noty('An error occurred.', 'error');
noty('Information message.', 'info');
noty('Warning message.', 'warning');
// With options
noty('Success message', 'success', [
'timeout' => 3000,
'layout' => 'topCenter',
'progressBar' => true,
]);
// Custom notification
noty('Custom message', 'custom-type');
success(), error(), info(), warning(), flash()layout, theme, timeout, progressBar, closeWithnoty() helper for quick access// Success notification
noty($message, 'success', $options, $title);
// Error notification
noty($message, 'error', $options, $title);
// Info notification
noty($message, 'info', $options, $title);
// Warning notification
noty($message, 'warning', $options, $title);
// Custom notification type
noty($message, $type, $options, $title);
// With options
noty($message, 'success', [
'layout' => 'topCenter',
'timeout' => 3000,
'theme' => 'mint',
], $title);
Complete documentation: php-flasher.io