Add the repository to your composer.json file
"repositories": [
...
{ "type": "vcs", "url": "https://github.com/ecentria/EcentriaAPIEventsBundle" }
]
Add via composer command
$ php composer.phar require ecentria/ecentria-APIEvents-bundle dev-master
Or Add via composer.json directly
"ecentria/ecentria-APIEvents-bundle": "dev-master"
Enable the bundle:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Ecentria\Libraries\EcentriaRestBundle\EcentriaAPIEventsBundle(),
);
}
Specify serializer service in config.yml
ecentria_api_events:
domain_message_serializer: jms_serializer