# Browsershot

PHP library that renders a web page to an image or PDF through headless Chrome driven by Puppeteer.


Source: https://findsoftware.frbit.cloud/browsershot/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://spatie.be/docs/browsershot
- repository: https://github.com/spatie/browsershot
- docs: https://spatie.be/docs/browsershot/v4/installation-setup
- x: https://x.com/spatie_be
- bluesky: https://bsky.app/profile/spatie.be
- youtube: https://www.youtube.com/channel/UCoBbei3S9JLTcS2VeEOWDeQ
- instagram: https://www.instagram.com/spatie_be

### Identity

- status: active
- maintainer: Spatie bvba
- maintainerType: unknown
- parent: unknown
- firstRelease: 2014
- hqCountry: BE

### Kind

- category: library
- hosting: php, node
- language: php
- runtime: php, node
- runtimeMin: php 8.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer require spatie/browsershot

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-10-26

### Adoption

- githubStargazers: 5251
- packagistDownloads: 46264928
- npmWeeklyDownloads: not applicable
- contributors: 160
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1067
- dependentPackages: 63

### Sources

- urls: https://spatie.be/docs/browsershot (read 2026-11-04)
- urls: https://api.github.com/repos/spatie/browsershot (read 2026-11-04)
- urls: https://spatie.be/docs/browsershot/v4/installation-setup (read 2026-11-04)
- category: https://github.com/spatie/browsershot/blob/main/README.md (read 2026-11-04)
- language: https://api.github.com/repos/spatie/browsershot (read 2026-11-04)
- runtime: https://github.com/spatie/browsershot/blob/5.4.2/composer.json (read 2026-11-04)
- runtime: https://spatie.be/docs/browsershot/v4/requirements (read 2026-11-04)
- runtimeMin: https://github.com/spatie/browsershot/blob/5.4.2/composer.json (read 2026-11-04)
- installMethod: https://spatie.be/docs/browsershot/v4/installation-setup (read 2026-11-04)
- license: https://api.github.com/repos/spatie/browsershot (read 2026-11-04)
- licenseModel: https://raw.githubusercontent.com/spatie/browsershot/main/LICENSE.md (read 2026-11-04)
- maintainer: https://raw.githubusercontent.com/spatie/browsershot/main/LICENSE.md (read 2026-11-04)
- hqCountry: https://spatie.be/about-us (read 2026-11-04)
- firstRelease: https://repo.packagist.org/p2/spatie/browsershot.json (read 2026-11-04)
- currentMajor: https://api.github.com/repos/spatie/browsershot/releases (read 2026-11-04)
- latestReleaseDate: https://api.github.com/repos/spatie/browsershot/releases (read 2026-11-04)
- githubStargazers: https://api.github.com/repos/spatie/browsershot (read 2026-11-04)
- contributors: https://api.github.com/repos/spatie/browsershot/contributors (read 2026-11-04)
- packagistDownloads: https://packagist.org/packages/spatie/browsershot.json (read 2026-11-04)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/spatie%2Fbrowsershot (read 2026-11-04)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/spatie%2Fbrowsershot (read 2026-11-04)

## Notes

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](https://spatie.be/docs/browsershot/v4/installation-setup) 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](https://spatie.be/docs/browsershot/v4/requirements) names the minimum versions.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
