---
title: "Capture Web Page Screenshots in Laravel with Spatie's Laravel Screenshot"
url: https://daily.dev/posts/capture-web-page-screenshots-in-laravel-with-spatie-s-laravel-screenshot-abeik0rqj
source_url: https://laravel-news.com/laravel-screenshot
type: article
source: "Laravel News"
published: 2026-02-13T14:11:26.101Z
updated: 2026-08-24T06:51:04.014Z
tags: ["php", "laravel", "chromium"]
reading_time: 2
upvotes: 26
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Capture Web Page Screenshots in Laravel with Spatie's Laravel Screenshot

**[Laravel News](https://daily.dev/sources/ln)** · 2 min read · 26 upvotes · 1 comments

## Summary

Spatie's Laravel Screenshot package enables web page screenshot capture in Laravel applications through a driver-based architecture. It supports two drivers: Browsershot (using Chromium) and Cloudflare Browser Rendering API. Key features include customizable viewport dimensions, image quality control, queued background processing with callbacks, testing utilities with fake mode, and flexible disk storage options. The package defaults to 1280x800 viewport with 2x device scale factor and PNG format, waiting for network idle before capture.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/laravel-screenshot>

## Community discussion

Top comments from developers on daily.dev.

**@allinonetools** · 2 upvotes

> I’ve used Browsershot before, and having it wrapped like this inside Laravel makes it much easier to manage screenshots in real projects. The queued processing and fake mode for testing are especially useful — screenshots can slow things down if done synchronously. Also good to see Cloudflare as an option when running Chromium locally isn’t practical.

---

Tags: [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#chromium](https://daily.dev/tags/chromium)

[View this post on daily.dev](https://daily.dev/posts/capture-web-page-screenshots-in-laravel-with-spatie-s-laravel-screenshot-abeik0rqj)
