spatie/laravel-og-image
Generate Open Graph images in Laravel from Blade-defined HTML. Automatically renders screenshots, serves them from a route, and caches files. Templates reuse your app’s CSS, fonts, and Vite assets—no external API required.
To delete all generated OG images from disk:
php artisan og-image:clear
This removes all files from the configured disk path. The images will be regenerated on the next request (as long as the URL is still in cache or the page is visited again).
How can I help you explore Laravel packages today?