2017 © Pedro Peláez
 

project web2pdf

Simple script to convert web pages to PDF file using the wkhtmltopdf binary

image

nabble/web2pdf

Simple script to convert web pages to PDF file using the wkhtmltopdf binary

  • Friday, July 17, 2015
  • by hongaar
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 100 % Grown

The README.md

web2pdf

Super simple barebones no-nonsense fast, quick and dirty script to convert web pages to PDF file using the wkhtmltopdf binary, (*1)

installation

Run composer install and then make sure the files in vendor/bin are executable and the log directory is writable:, (*2)

composer install
chmod u+x vendor/bin/*
chmod u+x log

You might also need to install additional dependencies with:, (*3)

sudo apt-get install wkhtmltopdf

usage

Start the development server with:, (*4)

php -S localhost:8000

Call the script with the required query string parameters url and filename, i.e.:, (*5)

http://localhost:8000/?url=http%3A%2F%2Fwww.google.com&filename=google+homepage, (*6)

The Versions

17/07 2015

dev-master

9999999-dev

Simple script to convert web pages to PDF file using the wkhtmltopdf binary

  Sources   Download

MIT License

The Requires

 

by Joram van den Boezem