To install this bundle, run the command below and you will get the latest version.
composer require hob/api-bundle
To use the newest (maybe unstable) version please add following into your composer.json:
{
"require": {
"hob/api-bundle": "dev-master"
}
}
Load bundle in AppKernel.php:
new HOB\ApiBundle\HOBApiBundle()
Configuration in config.yml:
api_bundle:
required: true