How to run this demo composer install php -S 127.0.0.1:8000 -t public/ Open in the browser: http://127.0.0.1:8000/page.html to see html version http://127.0.0.1:8000/page.pdf to see pdf version