Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Starting 0.8.1 dompdf no longer supplies autoload.php in its root directory. See https://github.com/dompdf/dompdf/commit/39cf8906c39a01b0e54ed140d9703325...
Comment | File | Size | Author |
---|---|---|---|
#8 | 2915990-support-dompdf.0.8.1.patch | 985 bytes | janvonmulert |
#4 | cbilly-dompdf-2915990-4.patch | 6.05 KB | klausi |
Comments
Comment #2
jonhattanComment #3
emerham CreditAttribution: emerham as a volunteer commentedTested and it works for me with DomPDF 8.1.
Comment #4
klausiUpdated patch where we also update the exception classes. This should still work with any previous dompdf version installed through Libraries API, but the recommended way is now Composer.
Comment #6
klausiCommitted!
Comment #8
janvonmulert CreditAttribution: janvonmulert at Xequals commentedI was trying to install commerce_billy on an older, non composer drupal 7 site.
Got it to work like so:
Extracted zip from
https://github.com/dompdf/dompdf/releases/tag/v0.8.1
into libraries folder.
rename to dompdf
run "composer install" in dompdf
then needed patch #4 for correct path to autoload file. (should probably get committed as well ?)
Attached it reroll of #4 for 7.x-1.3+2-dev