joubjoub / notification-bundle
Provides notification for your Symfony2 application.
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/joubjoub/notification-bundle
This package is not auto-updated.
Last update: 2025-09-27 23:15:42 UTC
README
Provides a notification bundle for Symfony2
Installation
Install it via composer with:
composer require joubjoub/notification-bundle dev-master
You should create entities UserNotification
, Notification
, and implements the NotifiableInterface
for your User entity.
Usage
And then, you should be able to add a notification with the service joubjoub.notification
like this:
// $users can be an array of NotifiableInterface object, or a NotifiableInterface object $this->get('joubjoub.notification')->addNotification($users, $notification);
## License This bundle is under MIT License.
Unit test
Unit tests will come soon.