Is it possible to embedd a pdf file into another using php?
If not php, can this be made using another open source software?
The use case is the following:
I have a template.pdf file with empty spots which should be filled dynamically
with another pdf files.
Example:
I have a pdf file with four empty slots, the firts three should be filled
with the contents of pdf files: a.pdf, b.pdf, c.pdf and the last one should
be filled with text dinamically created.
template.pdf
+-----------------------+-------+-------+
| a.pdf | b.pdf | c.pdf |
+-----------------------+-------+-------+
| embedded dynamic text |
+---------------------------------------+
I was able to fulfill my requirements using
tcpdf.phpandfpdi.php.It’s not the most beautiful code, but It’s working.