Require the bundle in your composer.json file :
{
"require": {
"m6web/api-exception-bundle": "~1.0.0",
}
}
Register the bundle in your kernel :
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
new M6Web\Bundle\ApiExceptionBundle\M6WebApiExceptionBundle(),
);
}
Then install the bundle :
$ composer update m6web/api-exception-bundle