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.
Table of contents
# Main Features# Basic Screenshot Capture# Customizing Dimensions and Quality# Queued Background Processing# Testing Screenshot Generation# Example Use Cases1 Comment
Sort: