Symfony2 bundle to implement encoding API calls