The package can convert a webpage to a pdf. The conversion is done behind the scenes by Puppeteer which controls a headless version of Google Chrome.
Originally base on spatie/browsershot.
composer require "web-chefs/puppeteer-to-pdf"
WebChefs current tries where possible to support PHP 5.6 and spatie/browsershot requires PHP 7.0 and above.
spatie/browsershot supports a lot of image screen shot functionality that adds a lot of extra PHP 7.0 dependencies.
So to meet our requirements of generating a PDF running on PHP 5.6 required that we strip out any PHP 7.0 specific functionality this meant removing screen shot image functionality.
The MIT License (MIT). Please see License File for more information.