Search by

68publishers / notification-bundle

Jelen

Nette extension for user's notifications, flash messages also with Toastr (JS library) support.

Package info

github.com/68publishers/notification-bundle

pkg:composer/68publishers/notification-bundle

Statistics

Installs: 5 097

Dependents: 2

Suggesters: 2

Stars: 0

Open Issues: 1

v0.4.0 2026-10-28 16:02 UTC

This package is auto-updated.

Last update: 2026-10-28 16:03:58 UTC


README

⚠️ Warning! This package does not have active support, it exists only for the historical needs of the author.

Notification Bundle

🔔 Nette extension for user's notifications, flash messages also with Toastr (JS library) support.

Installation

The best way to install 68publishers/notification-bundle is using Composer:

composer require 68publishers/notification-bundle

Requirements: PHP ^8.3, nette/application ^3.1.15, 68publishers/smart-nette-component ^2.0 and 68publishers/translation-bridge ^3.0 (the controls are translator-aware). The default templates require Latte 3.

then you can register extension into DIC:

extensions:
    notification_bundle: SixtyEightPublishers\NotificationBundle\DI\NotificationBundleExtension

Upgrade

From 0.3 to 0.4

  • The minimal PHP version is 8.3.
  • 68publishers/smart-nette-component ^2.0 and 68publishers/translation-bridge ^3.0 are required, upgrade them together with this package.
  • The class SixtyEightPublishers\NotificationBundle\Phrase\KdybyPhrase has been removed (kdyby/translation is abandoned), use Phrase or your own IPhrase implementation.
  • The signatures use Nette\Localization\Translator, Nette\Caching\Storage and Nette\Application\Response instead of the deprecated ITranslator, IStorage and IResponse. These are aliases of the same interfaces, so existing IPhrase implementations keep working.
  • Notifications stored in the session or cache before the upgrade are restored without changes.

Contributing

Before committing any changes, don't forget to run

vendor/bin/php-cs-fixer fix -v --dry-run

and

vendor/bin/tester ./tests