I created an exam module that provides a report card to the user in the form of HTML (twig). Now I want the user to be able to save the report card in pdf format. I added a button as Save report card, and I want to write code in my controller in order to generate this pdf file with the same contents as html. I googled and found these links:
These links are where great, but I could not get how I can use them in symfony2. I am new to symfony2 and php. Can anyone help me here with the same.
source share