How to Fetch Pdf From Fields with PHP

today i learned how to parse pdf form fields with php . Same like in html forms pdf may also have some form fields .And i want to share it with all . Hope you will like this little function to fetch pdf form fields .

Now we have a function pdfparser (‘your pdf file path’) so you can call it anywhere .
You need to install pdftk to parse the pdf and may be qpdf to decrypt the pdf file if needed.