I am using Laravel and I have pdf file and i need dinamicaly fill there some fields data. How can i do this without PDF View?
Asked
Active
Viewed 3,971 times
3 Answers
1
you can't edit a pdf file to fill his fields, what you can do is generate a pdf file and pass the content with the fields already filled, here is a library to do it: https://github.com/barryvdh/laravel-dompdf

Itamar Garcia
- 882
- 10
- 17
-1
you cannot edit the pdf files directly , you got to create fields inside the pdf which can be read by the library. You can try this package strongbond/pdf-filler-laravel , i had a similar situation also wanted to add signature into the pdf which lead me to build this library.

John
- 33
- 2
- 8