aboutcoders / notification-bundle
A symfony bundle that adds process control to the SonataNotificationBundle.
Installs: 1 989
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- aboutcoders/process-control-bundle: ~1.1
- sonata-project/notification-bundle: ~2.3
- symfony/symfony: ~2.7|~3.0
Requires (Dev)
- doctrine/doctrine-bundle: ~1.2
- doctrine/orm: ~2.2,>=2.2.3
- phpunit/phpunit: ~4
This package is not auto-updated.
Last update: 2024-11-09 19:30:39 UTC
README
A symfony bundle that adds process control to the SonataNotificationBundle and thereby allows to start/stop message processing in a continuous integration environment.
Installation
Follow the installation instructions of the required third party bundles:
Add the AbcNotificationBundle to your composer.json
file
php composer.phar require aboutcoders/notification-bundle
Include the bundle in the AppKernel.php class
public function registerBundles() { $bundles = array( // ... new Abc\Bundle\NotificationBundle\AbcNotificationBundle(), ); return $bundles; }
Following the installation instructions of the SonataNotificationBundle you will create or generate a bundle within your application that extends from the SonataNotificationBundle. Since this bundle also extends from the SonataNotificationBundle you have to extend your created/generated bundle from this bundle instead of the SonataNotificationBundle.
class MySonataNotificationBundle extends Bundle { /** * {@inheritdoc} */ public function getParent() { return 'AbcNotificationBundle'; } }
ToDo:
- Provide a pull request for the SonataNotificationBundle that allows to define custom message managers/iterators and thereby make this bundle obsolete