Download the PHP package hardimpactdev/og-image-filament without Composer
On this page you can find all versions of the php package hardimpactdev/og-image-filament. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hardimpactdev/og-image-filament
More information about hardimpactdev/og-image-filament
Files in hardimpactdev/og-image-filament
Package og-image-filament
Short Description Generate code-configured Open Graph images from Filament resource records.
License MIT
Homepage https://github.com/hardimpactdev/og-image-filament
Informations about the package og-image-filament
OG Image Filament
Generate deterministic 1200 × 630 Open Graph images from Filament resource records.
Every resource owns its Blade template, DTO resolver, and storage path in application code. The Filament page is a read-only previewer with source and entry selection plus manual regeneration.
Installation
Create an application DTO:
Register the plugin on a Filament panel:
The package passes the resolved DTO to Blade as $data:
Templates and DTOs belong to the consuming application, so changes remain versioned in Git and deploy with the app. Missing templates, resolvers, paths, and render failures throw immediately.
Models that implement GeneratesOgImages and use InteractsWithOgImages regenerate synchronously after each committed save. Deleting the model removes its PNG before the database row is deleted. Generation and deletion failures propagate to the caller.
Configuration
Set OG_IMAGE_NO_SANDBOX=true only when Chromium runs as root inside a trusted container.
Development
License
MIT
All versions of og-image-filament with dependencies
filament/filament Version ^5.6
illuminate/contracts Version ^13.0
spatie/browsershot Version ^5.4
spatie/laravel-package-tools Version ^1.93