Browsershot
PHP library that renders a web page to an image or PDF through headless Chrome driven by Puppeteer.
spatie.be/docs/browsershotrepositorydocs
Browsershot converts a web page to an image or PDF from PHP code. The README says the conversion runs through Puppeteer, which drives a headless version of Google Chrome, so a PHP app depends on Node and Puppeteer for the browser work. It is installed with Composer, and the installation page of its documentation covers the setup.
Worth knowing
The rendering needs Node and the Puppeteer package on the machine that runs the PHP code. The requirements page names the minimum versions.
Identity
Rendering and deploy
- Install with
- composer require spatie/browsershot3
Releases
Adoption
Sources
- 2026-11-04: links
spatie.be/docs/browsershot - 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/spatie/browsershot - 2026-11-04: links, Install with
spatie.be/docs/browsershot/v4/installation-setup - 2026-11-04: Categories
github.com/spatie/browsershot/blob/main/README.md - 2026-11-04: Runtime, Minimum runtime
github.com/spatie/browsershot/blob/5.4.2/composer.json - 2026-11-04: Runtime
spatie.be/docs/browsershot/v4/requirements - 2026-11-04: License model, Maintainer
raw.githubusercontent.com/spatie/browsershot/main/LICENSE.md - 2026-11-04: Headquarters
spatie.be/about-us - 2026-11-04: First release
repo.packagist.org/p2/spatie/browsershot.json - 2026-11-04: Current major version, Last release
api.github.com/repos/spatie/browsershot/releases - 2026-11-04: Contributors
api.github.com/repos/spatie/browsershot/contributors - 2026-11-04: Packagist downloads
packagist.org/packages/spatie/browsershot.json - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/spatie%2Fbrowsershot