github dompdf/dompdf v0.8.0
Dompdf 0.8.0

latest releases: v2.0.8, v2.0.7, v2.0.6...
7 years ago

This release has been superseded by version 0.8.1

Change highlights since 0.7.0

  • Improves compatibility with PHP 7.1
  • Adds support for width: auto CSS styling
  • Adds support for RGB-alpha and HEX-alpha CSS color values
  • Falls back to curl for remote resource fetching
  • Adds support for HTML5 elements
  • Improves CSS support for the following: float, nth-child/nth-of-type, :matches pseudo-class
  • Adds support for in-document linking using element ID
  • Adds preliminary support for media queries (width, height, and orientation)
  • Improves performance in various areas
  • Updates DejaVu Fonts to 2.37

Updated dependencies

  • php-font-lib 0.5
  • php-svg-lib 0.2

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

Requirements

dompdf 0.7.0 requires the following:

  • PHP 5.3 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.2 (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-0.zip" for the packaged release. The two buttons labeled "Source code" are auto-generated by github and do not include all the necessary files.

Don't miss a new dompdf release

NewReleases is sending notifications on new releases.