This bundle is a bridge between Symfony2 configuration and zencoder-php library.
Download the dependency via composer
composer require jcart/zencoder-api-client-bundle
Install the bundle into your AppKernel. Add the following line to the bundle defintions:
new JC\ConsulApiClientBundle\JCZencoderApiClientBundle(),
The configuration supports configuration the zencoder api.
jc_zencoder_api_client:
host: api.zencoder.com
secret: your_secret_key
debug: false
ca_path: ~
ca_file: ~
A zencoder service instance is
For zencoder instance of the Zencoder\Api is injected into the service container with the service id
jc_zencoder_api_client.client