2017 © Pedro Peláez
 

library dompdf-pages

image

rdx/dompdf-pages

  • Wednesday, March 28, 2018
  • by rudiedirkx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Pageable & processable DomPdf

See examples/ for usage., (*1)

Decorators

Using the decorator pattern, the DomPdf class becomes pluggable. This means a plugin can change/add a little bit of DomPdf logic. Decorating is the backbone of this package., (*2)

Pageable

See examples/merger.php., (*3)

Using the PageableDompdf decorator, you can have multiple <body> tags, to create 1 big PDF from very different inputs., (*4)

Processable

See examples/pager.html and examples/red.html., (*5)

Using the ProcessableDompdf decorator, you can create pre-processors for DomPdf input. DomPdf has several very cool features that are hard to implement. You can turn simple input HTML into advanced DomPdf HTML with a pre-processor., (*6)

  • PagerProcessor - adds tag <dompdf-pager> for simple paging, to replace DomPdf's advanced scripting.
  • NoScriptsProcessor - removes all <script> tags from the input, to make all input safe.

The Versions

28/03 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Rudie Dirkx