title: How can i generate pdf reports using symfony2?
body: <p>I have created an examanition module which provides the report card to the user as an HTML (twig) format. Now I want the user should be able to save the report card as pdf. I have added a button as Save ReportCard and I want to write the code in my controller to generate this pdf file with same content as of the html. I googled and found these links:</p>
  
  <ol>
  <li><a href="http://www.pdflib.com/download/pdflib-family/pdflib-8/" rel="nofollow">PDF Lib 8</a></li>
  <li><a href="http://www.sitepoint.com/generate-pdfs-php/" rel="nofollow">Generate PDFs with PHP</a></li>
  </ol>
  
  <p>These links where great but I couldnt get how can i use them in symfony2. I am new to symfony2 and Php. Can anyonw help me here with the same. </p>