Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Dompdf Laravel Package

barryvdh/laravel-dompdf

Generate PDFs in Laravel using Dompdf. Render Blade views or HTML to PDF, set paper size/orientation, stream or download responses, and configure fonts/options. Popular, straightforward integration for invoices, reports, and documents.

View on GitHub
Deep Wiki
Context7
v3.1.0

This release updates the config for dompdf/dompdf v3.1.0 which contains the. following breaking URL:

Breaking Change This release adds the "data://" scheme to the protocol validation rules. Installations that explicitly define the allowed protocols but do not include the "data://" protocol will no longer render data-URIs. This is a change from previous versions, where data-URIs were not processed through the validated rules. Installations that use the default validation rules included with Dompdf should see no impact.

The update for laravel-dompdf adds this to the default config, but if you have published the config, you need to add the data:// scheme.

What's Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v3.0.1...v3.1.0

v3.0.0

Version 3.x supports DomPDF version 3.x. See the changelog in https://github.com/dompdf/dompdf/releases/tag/v3.0.0

The most notable change in laravel-dompdf are the changed defaults, to be more secure;

  • enable_remote is now false by default. Change with caution.
  • allowedRemoteHosts and artifactPathValidation are added the the config. Also, support for Laravel < 9 and PHP < 8.1 is dropped.

What's Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.2.0...v3.0.0

v3.0.0-beta2

What's Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v3.0.0-beta1...v3.0.0-beta2

v3.0.0-beta1

Version 3.x supports DomPDF version 3.x. See the changelog in https://github.com/dompdf/dompdf/releases/tag/v3.0.0

The most notable change in laravel-dompdf are the changed defaults, to be more secure;

  • enable_remote is now false by default. Change with caution.
  • allowedRemoteHosts and artifactPathValidation are added the the config. Also, support for Laravel < 9 and PHP < 8.1 is dropped.

What's Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.2.0...v3.0.0-beta1

v2.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.1.1...v2.2.0

v2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/barryvdh/laravel-dompdf/compare/v2.0.1...v2.0.2

v2.0.1
v2.0.0

Version 2 supports DomPDF 2.x

Changed

  • Remove the deprecated class 'Barryvdh\DomPDF\Facade' Facade in favor of Barryvdh\DomPDF\Facade\Pdf
  • Set default Facade to Pdf instead of PDF
  • HTML5 parser option is deprecated, because this is always on.
  • orientation option was never used. Removed in favor of options.default_paper_orientation

Added

  • Upgraded to use dompdf/dompdf 2.x
  • setOption to change only the specified option(s), instead of replace all options.
  • Magic methods to allow calls to Dompdf methods easier. (#892)
  • default_paper_orientation option has been added to the defaults.
  • Add option to set public path (#890)

Deprecated

  • setOptions is now deprecated. Use setOption instead.
  • Config dompdf.defines has been renamed to dompdf.options

Dompdf 2.0.0, highlights since 1.2.x

https://github.com/dompdf/dompdf/releases/tag/v2.0.0

  • Addresses multiple security vulnerabilities (see link)
  • Modifies callback and page_script/page_text handling (breaking change, see link)
  • Switches the HTML5 parser to Masterminds/HTML5
  • Improves CSS property parsing and representation
  • Improves border, outline, and background rendering for inline elements
  • Switches installed fonts and font metrics cache file format to JSON
  • Adds support for the inset CSS shorthand property and the legacy break-word keyword for word-break
  • Adds "end_document" callback event
v2.0.0-rc1
v2.0.0-beta3
  • Remove the deprecated class 'Barryvdh\DomPDF\Facade' Facade in favor of Barryvdh\DomPDF\Facade\Pdf
  • Set default Facade to Pdf instead of PDF
v2.0.0-beta2

[2.0.0-beta2]

Added

  • Upgraded to use dompdf/dompdf 2.x, see https://github.com/dompdf/dompdf/releases/tag/v2.0.0
  • setOption to change only the specified option(s), instead of replace all options.
  • Magic methods to allow calls to Dompdf methods easier. (#892)
  • default_paper_orientation option has been added to the defaults.
  • Add option to set public path (#890)

Changed

  • HTML5 parser option is deprecated, because this is always on.
  • orientation option was never used. Removed in favor of options.default_paper_orientation

Deprecated

  • setOptions is now deprecated. Use setOption instead.
  • Config dompdf.defines has been renamed to dompdf.options

Dompdf 2.0.0, highlights since 1.2.x

https://github.com/dompdf/dompdf/releases/tag/v2.0.0

  • Addresses multiple security vulnerabilities (see link)
  • Modifies callback and page_script/page_text handling (breaking change, see link)
  • Switches the HTML5 parser to Masterminds/HTML5
  • Improves CSS property parsing and representation
  • Improves border, outline, and background rendering for inline elements
  • Switches installed fonts and font metrics cache file format to JSON
  • Adds support for the inset CSS shorthand property and the legacy break-word keyword for word-break
  • Adds "end_document" callback event
v1.0.2
v1.0.1
v1.0.0
  • Now Supports Laravel 9
  • The Facade is renamed from Barryvdh\DomPDF\Facade to Barryvdh\DomPDF\Facade\Pdf to provide more helpful auto-completion. The old Facade is still available, but will be removed in the future. No changes needed for the \Pdf facade because Laravel does this automatically.
  • Breaking change/fix: setEncryption now works as expected.
v1.0.0-beta2
  • Now Supports Laravel 9
  • The Facade is renamed from Barryvdh\DomPDF\Facade to Barryvdh\DomPDF\Facade\Pdf to provide more helpful auto-completion. The old Facade is still available, but will be removed in the future. No changes needed for the \Pdf facade because Laravel does this automatically.
v1.0.0-beta1
  • Breaking change: setEncryption now works as expected.
v0.9.0
v0.8.7
v0.8.6
v0.8.5
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
v0.7.1
v0.7.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope