The laravel-screenshot package requires PHP 8.4+ and Laravel 12+.
The additional requirements depend on which driver you use:
##Browsershot driver (default)
The Browsershot driver uses Browsershot under the hood to take screenshots. You can find the necessary requirements here. This includes Node.js and a Chrome/Chromium binary.
##Cloudflare driver
The Cloudflare driver uses Cloudflare's Browser Rendering API. This driver does not require Node.js or a Chrome binary on your server. You will need:
- A Cloudflare account with the Browser Rendering API enabled
- A Cloudflare API token with the appropriate permissions
- Your Cloudflare account ID