idci / notification-api-client-bundle
Symfony NotificationApiClientBundle
Installs: 67 423
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 19
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- da/api-client-bundle: ~1.1
- symfony/framework-bundle: >=2.1
- twig/twig: *
Requires (Dev)
- phpunit/phpunit: ~5.7
- symfony/symfony: 2.8.*
README
Symfony2 notification api client bundle
Installation
Add dependencies in your composer.json
file:
"require": { ... "da/api-client-bundle": "dev-master", "idci/notification-api-client-bundle": "dev-master" },
Install these new dependencies of your application:
$ php composer.phar update
Enable the bundle in your application kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Da\ApiClientBundle\DaApiClientBundle(), new IDCI\Bundle\NotificationApiClientBundle\IDCINotificationApiClientBundle(), ); }
Import the bundle configuration:
# app/config/config.yml imports: - { resource: @IDCINotificationApiClientBundle/Resources/config/config.yml }
To check if every thing seem to be ok, you can execute this command:
$ php app/console container:debug
You'll get this result:
... da_api_client.api.notification container Da\ApiClientBundle\Http\Rest\RestApiClientBridge ...
Documentation
Tests
Install bundle dependencies:
$ php composer.phar update
To execute unit tests:
$ phpunit --coverage-text