# spatie/browsershot

> PHP package that renders web pages to images or PDFs with headless Chrome

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/browsershot
- HTML: https://awesomeopensource.dev/project/spatie-browsershot
- Website: https://spatie.be/docs/browsershot
- License: MIT
- Language: PHP
- stars: 5250
- Topics: hacktoberfest, phantomjs, php, screenshot
- Activity score: 4.7/5 (Thriving)
- Last commit (any branch): 2026-11-09
- Last release: 5.5.0 2026-11-06

## Description

Browsershot sends a URL, an HTML string or a local file to a headless Chrome instance driven by Puppeteer, and saves the result as an image or, when the path ends in .pdf, as a PDF. It can return the rendered body HTML, the requests a page triggered, or a screenshot with custom viewport and Chrome options. Local file access from HTML input is blocked by default and must be enabled explicitly.

## Maintenance activity

- Recency: 96% (weight 40%) — last commit: 4 days ago
- Commit volume: 75% (weight 25%)
- Releases: 99% (weight 25%) — last release: 7 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 10 / 90d, 49 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
