Switch branches/tags
Nothing to show
Find file History
Pavel Madr
Latest commit ca583cb Nov 21, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
templates example for converting just a part of a page Dec 6, 2018
.gitignore examples Nov 6, 2018
README.md examples Nov 6, 2018
bootstrap.php examples Nov 6, 2018
composer.json examples Nov 6, 2018
composer.phar examples Nov 6, 2018
index.php example for converting just a part of a page Dec 6, 2018

README.md

Pdfcrowd & PHP Web Server Demo

Sample for dynamic and static HTML to PDF conversions.

Prerequisites

php
composer

Replace 'your_username' with your Pdfcrowd username and 'your_apikey' with your Pdfcrowd API key in index.php file. Sign up for a free trial if you don't have the credentials.

Installing

composer install

Web server start

php -S localhost:8080 index.php

Test

Open a sample web page http://localhost:8080/

Invoke a conversion to PDF by pressing buttons at the bottom of the page.

Documentation