idci / notification-bundle
Symfony NotificationBundle
Installs: 7 254
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 19
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: ~1.2
- doctrine/orm: ~2.2,>=2.2.3
- friendsofsymfony/rest-bundle: ~1.7
- idci/simple-metadata-bundle: ~1.2
- jms/serializer-bundle: ~1.0
- symfony/framework-bundle: >=2.3
- symfony/swiftmailer-bundle: ~2.4
- twig/twig: ~1.0
Requires (Dev)
- phpunit/phpunit: ~5.7
- symfony/symfony: 2.8.*
README
Symfony2 notification bundle
Installation
Add dependencies in your composer.json
file:
"require": { ... "jms/serializer-bundle": "dev-master", "friendsofsymfony/rest-bundle": "dev-master", "idci/notification-bundle": "dev-master" },
Install these new dependencies of your application:
$ php composer.phar update
Enable bundles in your application kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new FOS\RestBundle\FOSRestBundle(), new JMS\SerializerBundle\JMSSerializerBundle(), new IDCI\Bundle\NotificationBundle\IDCINotificationBundle(), ); }
Import the routing configuration:
# app/config/routing.yml idci_notification_api: type: rest resource: "@IDCINotificationBundle/Resources/config/routing.yml" prefix: /api
Documentation
Tests
Install bundle dependencies:
$ php composer.phar update
To execute unit tests:
$ phpunit --coverage-text