wnx/sidecar-browsershot
Run Spatie Browsershot on AWS Lambda via Sidecar in Laravel—no need to install Node, Puppeteer, or Chrome on your servers. Deploy a Lambda function and generate PDFs/screenshots with headless Chrome handled remotely.
Adopt if:
Look elsewhere if:
For Executives: "This package lets us offload PDF/image generation to AWS Lambda, cutting server costs by eliminating Chrome/Puppeteer installations. For example, generating 1,000 invoices/month could save ~$500/year in infrastructure costs while scaling effortlessly. It also enables new features like S3-integrated thumbnails and custom fonts—critical for [X use case]. The tradeoff is minor latency (~100ms–2s cold starts), mitigated by warming. Competitors like [Y] would require custom engineering, adding risk and delay."
For Engineering:
*"This is a drop-in replacement for spatie/browsershot that moves heavy lifting to Lambda via Sidecar. Key benefits:
spatie/image for resizing/cropping.
Tradeoffs: Lambda limits (15-minute timeout, 10GB payloads) and cold starts. Ideal for batch jobs or non-real-time workflows. Setup requires:wnx/sidecar-browsershot + hammerstone/sidecar.php artisan sidecar:deploy.
Alternatives: Self-hosted Browsershot (higher ops overhead) or Docker (more complex)."*How can I help you explore Laravel packages today?