This package can be installed through Composer.
composer require spatie/browsershot
This packages requires puppeteer to be installed. You can find installation instructions on the requirements page.
##Using Browsershot on AWS Lambda
You can use sidecar-browsershot to easily run Browsershot on Lambda.