nowo-tech / notify-kit-bundle
Notifications for Symfony: one notify() call, an in-app inbox with a real-time badge, per-person preferences by category and channel, quiet hours and digests, mail / push / Slack channels and GDPR export and erasure.
Package info
github.com/nowo-tech/NotifyKitBundle
Type:symfony-bundle
pkg:composer/nowo-tech/notify-kit-bundle
Fund package maintenance!
Requires
- php: >=8.2 <8.6
- doctrine/dbal: ^3.9 || ^4.0
- doctrine/orm: ^3.3
- doctrine/persistence: ^3.4 || ^4.0
- nowo-tech/form-kit-bundle: ^2.24
- nowo-tech/transaction-contract: ^1.0
- nowo-tech/transaction-doctrine: ^1.8.1
- nowo-tech/ui-kit-bundle: ^2.68
- psr/clock: ^1.0
- psr/event-dispatcher: ^1.0
- psr/log: ^2.0 || ^3.0
- symfony/asset: ^7.4 || ^8.0
- symfony/clock: ^7.4 || ^8.0
- symfony/config: ^7.4 || ^8.0
- symfony/console: ^7.4 || ^8.0
- symfony/dependency-injection: ^7.4 || ^8.0
- symfony/event-dispatcher: ^7.4 || ^8.0
- symfony/form: ^7.4 || ^8.0
- symfony/framework-bundle: ^7.4 || ^8.0
- symfony/http-foundation: ^7.4 || ^8.0
- symfony/http-kernel: ^7.4 || ^8.0
- symfony/routing: ^7.4 || ^8.0
- symfony/security-core: ^7.4 || ^8.0
- symfony/security-csrf: ^7.4 || ^8.0
- symfony/service-contracts: ^3.5
- symfony/translation: ^7.4 || ^8.0
- symfony/twig-bundle: ^7.4 || ^8.0
- symfony/uid: ^7.4 || ^8.0
- twig/extra-bundle: ^3.12
- twig/string-extra: ^3.12
- twig/twig: ^3.8
Requires (Dev)
- doctrine/doctrine-bundle: ^2.13 || ^3.0
- friendsofphp/php-cs-fixer: ^3.0
- igor-php/igor-php: ^0.10.1 || ^0.11.0
- nowo-tech/audit-kit-bundle: ^2.1
- nowo-tech/phpstan-frankenphp: ^1.3
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^11.5
- rector/rector: ^2.0
- symfony/browser-kit: ^7.4 || ^8.0
- symfony/css-selector: ^7.4 || ^8.0
- symfony/dom-crawler: ^7.4 || ^8.0
- symfony/filesystem: ^7.4 || ^8.0
- symfony/mercure: ^0.10
- symfony/messenger: ^7.4 || ^8.0
- symfony/phpunit-bridge: ^7.4 || ^8.0
- symfony/security-bundle: ^7.4 || ^8.0
- symfony/yaml: ^7.4 || ^8.0
Suggests
- nowo-tech/doctrine-deadlock-retry-bundle: A retrying TransactionRunnerInterface adapter for the bundle's writes (doctrine.transaction_runner)
- symfony/flex: For automatic recipe installation
- symfony/mercure-bundle: Real-time unread badge through a private Mercure update per recipient (realtime.mode: mercure / auto)
- symfony/messenger: Retention (and, from S4, the channel fan-out) as messages on the host's async transport
- symfony/security-bundle: The inbox page, bell and operator page (web_ui / admin_ui) need a firewall and a logged-in user
Provides
None
Conflicts
- nowo-tech/audit-kit-bundle: <2.0
- symfony/mercure: <0.10
Replaces
None
- dev-main
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.1
- v0.1.0
- dev-docs/speckit-inventory-2026-11-26
- dev-chore/deptrac-arch-002
- dev-feat/s3-preferences
- dev-fix/demo-e2e-session-race
- dev-feat/s2-access-ui
- dev-fix/igor-011-warnings
- dev-docs/roadmap-status-2026-11-23
- dev-chore/demo-platform-shell
- dev-ci/light-mode
- dev-chore/transaction-doctrine-1.8
- dev-fix/concurrency-409-conflict-codes
- dev-chore/audit-se-sd-followups
- dev-chore/phase-c-req
- dev-feat/s1
This package is auto-updated.
Last update: 2026-11-30 18:25:46 UTC
README
⭐ Found this useful? Install it from Packagist and give it a star on GitHub: it helps us maintain and improve the project.
Notifications for Symfony: one notify() call, an in-app inbox with a real-time badge, per-person preferences by category and channel, quiet hours and digests, mail / push / Slack channels and GDPR export and erasure.
🚧 Status: 0.1.0 (S1 core inbox). The package is built slice by slice from its design contract (docs/CONTRACT.md, 221-B). S1 ships
notify()with the in-app rows (coalescing, dedupe, deny by default), the type registry, retention and the schema check; the bell, preferences and channels land with the slices in docs/ROADMAP.md.
📋 Compatible with Symfony 7.4, 8.0 and 8.1 · PHP 8.2+ (Symfony 8.x requires PHP 8.4+)
This bundle is built for FrankenPHP worker mode with the kernel kept alive and not reset between requests: no request state in services (the one per-transaction buffer is cleared by the bundle at every boundary), a worker test (one kernel, 2,000 requests of two users) in CI.
Standard Symfony by default, DDD / hexagonal opt-in: zero configuration in a standard project; public ports are interfaces and value objects, bundle-owned tables are mapped in XML and referenced by id, the bundle never flushes your EntityManager.
Features
Available: the entry point, the in-app rows (coalescing, dedupe, write-time access), the type registry, retention, the schema check, transaction-safe writes (S1); read-time visibility, the inbox read side, the header bell, the inbox and operator pages and the realtime badge (S2, in review); the preferences matrix, its page with autosave and the AuditKit bridge (S3, in review). Planned (see the roadmap): the rest.
- One entry point,
NotifierInterface::notify(): type, recipients (by id), actor, context, target, local URL, params, urgency, involved people; validated, written after your commit, fanned out per recipient and channel. - In-app inbox: one row per recipient (never the actor, only when the recipient may open the target), coalescing of repeats, read / unread / mark all, unread count, visibility re-checked at read time, retention.
- Header bell and inbox page on UiKit + FormKit, with a real-time badge (Mercure private updates, or a bounded poll).
- Preferences matrix per person × category × channel (only deviations stored), all / involved scope, master switch, per-context switches and overrides, a preferences page with autosave (optimistic, 409 when stale) and an AuditKit trail of the changes; the bell row is always written by default (Q-O2).
- Quiet hours and digests for mail, push and Slack (time zone, weekdays, urgent bypass; hourly / daily digests).
- Channels: built-in
in_app; bridges for mail (Symfony Mailer + MailKit branding), push (PwaBundle) and Slack (SlackKit); your own channels throughChannelInterface. - Personal data: UserKit eraser and export for every bundle table, actor unlinking.
- Optional public API
<prefix>/notifications/v1(off by default), authenticated by ApiTokenBundle.
Installation
composer require nowo-tech/notify-kit-bundle
See docs/INSTALLATION.md. Nothing is registered while nowo_notify_kit.enabled is false.
Requirements
- PHP >= 8.2, < 8.7
- Symfony 7.4, 8.0 or 8.1
Configuration
# config/packages/nowo_notify_kit.yaml nowo_notify_kit: enabled: false
Every key of the contract is already accepted (strict tree): docs/CONFIGURATION.md.
Demo
demo/symfony8: Symfony 8.1, FrankenPHP worker mode, MySQL, on http://localhost:8222 (make -C demo up), built on UiKit. Sign in as Alice or Bob, send notifications and watch the bell, the inbox page and (Alice) the operator page; make -C demo/symfony8 test-e2e runs the Playwright checks (bell, mark read, live badge, deny by default, axe).
Documentation
- Installation
- Configuration
- Usage (incl. the bell and pages, and using it from a DDD / hexagonal application)
- Templates (pages, partials, assets, overrides)
- Roadmap (slices and open questions)
- Contract
- Security
- FrankenPHP worker audit
- Demo with FrankenPHP
- Upgrading · Changelog · Release
- Architecture · PSR · Spec-driven development · Spec Kit
- Contributing · GitHub CI · Engram
- Code of Conduct
Tests and coverage
make test # PHPUnit in Docker make test-coverage-100 # fails below 100 % of src/ make release-check # every gate, demo included
- PHP: 100 % of
src/(gate in CI). - TypeScript (bell script): ≥ 90 % (Vitest gate,
make test-ts).
License
MIT. See LICENSE.
Author
Created by Héctor Franco Aceituno at Nowo.tech.




