Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

PHPFlasher

No security coverage Under active development

PHPFlasher shows toast notifications in Drupal, using the PHPFlasher 2 library.

See the README for more details.

Features

  • Call $this->flasher->addSuccess($this->t('Saved.')) from any code. The message appears as a toast on the next HTML page the visitor sees, and is then discarded.
  • Built on the framework-agnostic php-flasher/flasher library.
  • Settings form to choose the toast library, a theme for the built-in toasts, and the paths that never get toasts.
  • Optional: show Drupal's own status, warning and error messages as toasts.
  • Other toast libraries (Toastr, Noty, Notyf, SweetAlert) work once their php-flasher/* composer package is installed.

Ask your assistant about PHPFlasher

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2026
Latest release
2 days ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 11 PHP 8.3 Nov 20, 2026