Dompdf Versions Save

HTML to PDF converter for PHP

v1.1.0

2 years ago

This release has been superseded by version 1.1.1

Change highlights since 1.0.2

  • Improves margin and page break handling (element boundary detection)
  • Improves containing block determination for positioned elements
  • Improves support for relative positioning
  • Improves border radius rendering, fixes support for border radius on table cells
  • Improves table rendering in relation to borders, column widths
  • Improves counter tracking, roman numeral rendering
  • Adds Support for WebP images when using the CPDF back end
  • Fixes issue with IMagick version check

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 1.1.0 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_1-1-0.zip" for the packaged release. The download options labeled "Source code" are auto-generated by github and do not include all the dependencies.

v1.0.2

3 years ago

This release has been superseded by version 1.1.0

Change highlights since 0.8.6

  • Adds support for PHP 8
  • Adds support for soft hyphens
  • Adds multi-path support to the chroot option
  • Fixes table cells positioning following a rowspanned cell
  • Fixes excessive minimum widths for columns spanned by a colspanned cell
  • Addresses a performance issue related to parsing CSS image URLs

Bugs addressed since 1.0.1

  • Multi-path chroot support was not correctly parsed

Note on resource references: Because of the changes in resource security, some resources (images, external stylesheets) that would previously load with the default settings may no longer load. To ensure compatibility with this release ensure that remote resources can be loaded and that any local filesystem resources are within the directories specified by the chroot setting. By default, chroot is set to the Dompdf directory. Information on how to change these settings can be found in the readme section on setting options.

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 1.0.2 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_1-0-2.zip" for the packaged release. The download options labeled "Source code" are auto-generated by github and do not include all the dependencies.

v1.0.1

3 years ago

This release has been superseded by version 1.0.2

Change highlights since 0.8.6

  • Adds support for PHP 8
  • Adds support for soft hyphens
  • Adds multi-path support to the chroot option
  • Fixes table cells positioning following a rowspanned cell
  • Fixes excessive minimum widths for columns spanned by a colspanned cell
  • Addresses a performance issue related to parsing CSS image URLs

Bugs addressed since 1.0.0

  • Merging some Style properties broke when using the computed value
  • Border shorthand parsing did not cause recalculation of related properties
  • Variable reference error in the Stylesheet class

Note on resource references: Because of the changes in resource security, some resources (images, external stylesheets) that would previously load with the default settings may no longer load. To ensure compatibility with this release ensure that remote resources can be loaded and that any local filesystem resources are within the directories specified by the chroot setting. By default, chroot is set to the Dompdf directory. Information on how to change these settings can be found in the readme section on setting options.

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 1.0.1 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer a packaged release will be made available shortly. The download options labeled "Source code" are auto-generated by github and do not include all the dependencies.

v1.0.0

3 years ago

This release has been superseded by version 1.0.1

Change highlights since 0.8.6

  • Adds support for PHP 8
  • Adds support for soft hyphens
  • Adds multi-path support to the chroot option
  • Fixes table cells positioning following a rowspanned cell
  • Fixes excessive minimum widths for columns spanned by a colspanned cell
  • Addresses a performance issue related to parsing CSS image URLs

Note on resource references: Because of the changes in resource security, some resources (images, external stylesheets) that would previously load with the default settings may no longer load. To ensure compatibility with this release ensure that remote resources can be loaded and that any local filesystem resources are within the directories specified by the chroot setting. By default, chroot is set to the Dompdf directory. Information on how to change these settings can be found in the readme section on setting options.

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 1.0.0 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer a packaged release will be made available shortly. The download options labeled "Source code" are auto-generated by github and do not include all the dependencies.

v0.8.6

3 years ago

This release has been superseded by version 1.0.1

Change highlights since 0.8.5

  • Adds support for the background-size CSS3 property
  • Adds support for loading an existing DOMDocument
  • Adds support for PDF form fields (AcroForm)
  • Adds support for digital signatures
  • Adds support for PDF file attachments
  • Bumps PDF version to 1.7 (no major structural changes)
  • Improves text width calculations
  • Addresses ImageMagick 7 compatibility
  • Addresses PDF compatibility issues related to font subsetting and encryption
  • Addresses style inheritance issues introduced with previous version
  • Linked resources now honor the resource security options (breaking change, see note below and linked issue)

Note on resource references: Because of the changes in resource security, some resources (images, external stylesheets) that would previously load with the default settings may no longer load. To ensure compatibility with this release ensure the remote resources can be loaded and that any local filesystem resources are within the directory specified by the chroot setting. By default, chroot is set to the Dompdf directory. Information on how to change these settings can be found in the readme section on setting options.

This update addresses the following announced vulnerabilities:

Vulnerability Reference Type Severity
Information Disclosure through local image reference Issue 2152 Information Disclosure Low; Critical (system-dependent)

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 0.8.6 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_0-8-6.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.

v0.8.5

4 years ago

This release has been superseded by version 0.8.6

Change highlights since 0.8.4

  • Specified document encoding is now honored (previously would always use UTF8).
  • TH elements are now centered by default
  • Fixes style parsing bug that could result in values resetting to style property default
  • Fixes text width calculation that resulted in overly wide elements, namely table cells
  • Fixes bug in curl implementation

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 0.8.5 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_0-8-5.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.

v0.8.4

4 years ago

This release has been superseded by version 0.8.5

Change highlights since 0.8.3

  • Improves compatibility with PHP 7.x
  • Improves support for PDFLib 9
  • Adds support for numeric font weights
  • Improves style inheritance though addition of computed CSS values in addition to declared and used values
  • Improved handling of non-breaking space and word boundaries
  • Minor improvement to table border/background rendering

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 0.8.4 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_0-8-4.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.

v0.8.3

5 years ago

This release has been superseded by version 0.8.4

Change highlights since 0.8.2

  • Improved compatibility with PHP 7.3
  • Supported PDFLib version bumped to PDFLib 9
  • Added page_line() canvas method (like page_text())
  • Page break improvements
  • Bug Fix: word-wrap: break-word no longer expands parent containers
  • Bug Fix: Addressed decorator positioning issues due to incorrect height calculation (better underline positioning)
  • GD is now only recommended per composer configuration (though still required for image processing)

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 0.8.3 requires the following:

  • PHP 5.4 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_0-8-3.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.

v0.8.2

6 years ago

This release has been superseded by version 0.8.3

Change highlights since 0.8.1

  • Bug Fix: "no block level parent found" errors
  • Bug Fix: links to external resources broken
  • Bug Fix: Image rendering issues when using IMagick
  • Margin collapse logic now handles negative margins
  • Additional object type checking

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

dompdf 0.8.2 requires the following:

  • PHP 5.4 or greater
  • MBString
  • GD (for image processing)
  • allow_url_fopen set to true (for retrieving stylesheets or images via http) or the curl PHP extension
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x (if rendering SVG)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_0-8-2.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.

v0.8.1

6 years ago

This release has been superseded by version 0.8.2

Change highlights since 0.8.0

  • Improves compatibility with PHP 7.1
  • Improves table rendering around page breaks and margins
  • Fixes paging of generated content
  • Improves handling of CSS selectors, media queries, and inherited properties
  • Fixes Unicode support in (encrypted) PDF documents

View all changes since the previous release in the commit history.

Updated dependencies

  • php-svg-lib 0.5.1
  • php-svg-lib 0.3

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

dompdf 0.8.1 requires the following:

  • PHP 5.4 or greater
  • MBString
  • GD (for image processing)
  • allow_url_fopen set to true (for retrieving stylesheets or images via http) or the curl PHP extension
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x (if rendering SVG)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. Click the link labeled "dompdf_0-8-1.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the dependencies.