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.
This package requires PHP 8.4+ and Laravel 11+.
Under the hood, this package uses spatie/laravel-screenshot to generate the screenshots. By default, laravel-screenshot uses Browsershot, which requires Node.js and a Chrome/Chromium binary.
You can find the Browsershot requirements in its documentation.
How can I help you explore Laravel packages today?