Download the PHP package gdmedia/silverstripe-dompdf without Composer
On this page you can find all versions of the php package gdmedia/silverstripe-dompdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gdmedia/silverstripe-dompdf
More information about gdmedia/silverstripe-dompdf
Files in gdmedia/silverstripe-dompdf
Download gdmedia/silverstripe-dompdf
More information about gdmedia/silverstripe-dompdf
Files in gdmedia/silverstripe-dompdf
Vendor gdmedia
Package silverstripe-dompdf
Short Description SilverStripe PDF Generation via DOMPDF Library
License
Package silverstripe-dompdf
Short Description SilverStripe PDF Generation via DOMPDF Library
License
Please rate this library. Is it a good library?
Informations about the package silverstripe-dompdf
PDF Generation via DOMPDF Library
This is a fork of https://github.com/burnbright/silverstripe-dompdf for use with Composer.
Maintainer: Jeremy Shipman ([email protected])
Makes use of: https://github.com/dompdf/dompdf Dompdf websites: http://dompdf.github.com/, http://pxd.me/dompdf/www/
Input:
- HTML string (which could be rendered template)
- HTML File
Output
- PDF File location
- SS File
- PDF binary stream to browser
Installation
Composer
- On the command line, cd into your sites root folder
- Run
composer require gdmedia/silverstripe-dompdf
- Run dev/build?flush=all in your browser
Manually
- Download the module from https://github.com/guru-digital/silverstripe-dompdf/archive/master.zip
- Extract the files into your silverstripe root folder
- Run dev/build?flush=all in your browser
Example usage
Debugging
The $pdf->streamdebug(); function is useful for quickly viewing pdfs, particularly if your browser supports displaying pdfs, rather than downloading.
You can check your html before it is converted like this:
Useful Tips
- Use tables for layout if you get errors from floating divs.
- See the official dompdf website for more info
All versions of silverstripe-dompdf with dependencies
PHP Build Version
Package Version
Requires
dompdf/dompdf Version
^0.6.0
The package gdmedia/silverstripe-dompdf contains the following files
Loading the files please wait ....