Symfony2 bundle used to generate a document