PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Dave Smith  >  Convert HTML to PDF PHP Library  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Installation
Class: Convert HTML to PDF PHP Library
Convert HTML to PDF using pdflayer API
Author: By
Last change: Simple typo fix
Date: 6 years ago
Size: 1,084 bytes


Class file image Download
Class: html2pdf
Version: 1.0 2/8/2016

Copyright 2016 Wagon Trader, All Rights Reserved


Convert HTML to PDF using the pdfLayer API from


html2pdf.class.php - main class

reference.txt - parameter reference

/example - usage examples


Upload files to a web accessible location on your server (eg. public_html)


You can change the following settings in the class to meet your specific needs...

apiKey = Your personal API Key, get a free key at

endpoint = The API endpoint, you will only need to change this if the API
    changes location.
secretKey = If you have defined and activated the secret keyword feature from you
    pdfLayer dashboard, add your secret keyword here.


refer to examples in example for class instantiation and usage.

refer to html2pdf.class.php for instructions on using methods.

refer to reference.txt file for available parameters and their usage.



Initial Release
For more information send a message to info at phpclasses dot org.