xorgxx/wrap-notificator-bundle
Composer 安装命令:
composer require xorgxx/wrap-notificator-bundle
包简介
WrapNotificatorBundle: ergonomic facade over Symfony Notifier + Mailer + Mercure + Web Push (minishlink/web-push)
README 文档
README
Un bundle Symfony 7.3 / PHP 8.3 pour unifier et simplifier l’envoi de notifications via Mailer, Notifier (SMS/Chat), Mercure (browser) et Web Push, avec une UX front moderne (toasts) et des fonctionnalités avancées (idempotence, corrélation, envoi différé async).
📚 Documentation
The documentation is available in several languages:
Sommaire / Summary
- Installation (FR)
- Configuration (FR)
- Usage (FR)
- Plug & Play System (FR)
- Advanced Features (FR)
🚀 Quick Start
composer require xorgxx/wrap-notificator-bundle
// Send an email in 1 line $facade->notifyEmail('Welcome', '<h1>Hello</h1>', 'user@example.com'); // Send a browser toast via Mercure $facade->notifyBrowser('users:42', ['title' => 'Hello', 'body' => 'Welcome 👋', 'level' => 'success']);
🛠️ Requirements
- PHP 8.3+
- Symfony 7.3+
📄 License
MIT. See LICENSE for details.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-09