spatie
73
3
100% credibility
Found Feb 12, 2026 at 23 stars 3x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PHP
AI Summary

A package for Laravel apps that simplifies taking high-quality screenshots of web pages from URLs or HTML using local or cloud-based rendering.

How It Works

1
🌐 Discover screenshot tool

You find a helpful add-on that lets your web app capture pictures of any website effortlessly.

2
🔧 Bring it into your app

You easily add the tool to your project and choose between using your computer's browser or a cloud service for capturing.

3
Pick your capture style
🖥️
Local browser

Use built-in browser software on your machine for quick, private captures.

☁️
Cloud service

Connect to an online service for powerful rendering without setup hassle.

4
📸 Capture the page

Simply tell it the web address or HTML content, tweak size or quality if needed, and save the crisp image file.

5
Schedule for later

Queue up the snapshot to happen in the background while you focus elsewhere.

6
🧪 Test it out

Pretend to take snapshots to make sure everything works perfectly before going live.

🖼️ Perfect screenshots ready

Your app now generates beautiful, customizable images of web pages anytime, making your project shine.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 23 to 73 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is laravel-screenshot?

laravel-screenshot is a PHP package for Laravel apps that captures screenshots of URLs or HTML with a fluent facade, saving them as PNG, JPEG, or WebP files to disk or storage. It handles web page previews, thumbnails, or visual testing without manual browser setup, using either local Chromium rendering or Cloudflare's API. Defaults like 1280x800 retina viewport and network-idle waits make it drop-in ready for laravel screenshot needs, beating laravel dusk screenshot boilerplate.

Why is it gaining traction?

It stands out with driver choice—local for control, cloud for serverless scale—and queueable jobs that offload heavy rendering without blocking requests. Developers hook on the testing fakes for asserting saved images or URLs in Pest/PHPUnit, plus disk integration and options like full-page or selector clips. Spatie's polish means zero-config starts, unlike raw Browsershot wrappers.

Who should use this?

Laravel backend devs building admin dashboards with page previews, SaaS owners generating user report thumbnails, or QA teams swapping laravel dusk screenshot whole page hacks for simpler visual checks. Ideal for apps needing on-demand screenshots from video embeds or dynamic content, without full e2e browser suites.

Verdict

Grab it if you're in the Spatie ecosystem—solid docs, tests, and API despite 21 stars and 1.0% credibility signaling early days. Monitor for production scale; it's mature enough for prototypes but pair with queues for real traffic.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.