{
"require": {
"octante/marvel-api-bundle": "1.0.*"
}
}
Enable the bundle in the kernel:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Octante\MarvelAPIBundle\OctanteMarvelAPIBundle(),
);
}
You need to configure private and public keys in your parameters file. You can create the keys in marvel's developer page
parameters:
marvel_public_key: your_public_key
marvel_private_key: your_private_key
You need to add created parameters to your app/config/config.yml:
octante_marvel_api:
public_key: "%marvel_public_key%"
private_key: "%marvel_private_key%"