0

I am currently using mPDF to handle a couple of things. The problem I'm facing however is that mPDF uses a version of FPDI that is unable to handle files over PDF version 1.4. There is a (paid) commercial addon that makes handling newer PDF files possible though. The problem is:

  • I installed mPDF through composer.
  • I am unable to change the FPDI package, since mPDF is a package in and of itself, that uses another package.

My question is: How can I change mPDF to use the commercial (v2) version of FPDI?

Thanks in advance.

~Brendan

  • mPDF 8.0.0-RC1 with FPDI 2 was released yesterday, feel free to test it and report possible bugs. – Finwe Feb 27 '19 at 09:36

1 Answers1

2

There's this pull request, that adds compatibility for FPDI v2. Because of BC breaks it will be merged in mPDF 8.

Until that just use the legacy version of the parser add-on. This can also be installed with composer.

Jan Slabon
  • 4,736
  • 2
  • 14
  • 29