shweshi/opengraph
shweshi/opengraph is a Laravel package for extracting Open Graph metadata from any URL through a simple facade. Quickly retrieve titles, descriptions, images, and other OG tags to build rich link previews, social sharing cards, and SEO-friendly content.
og:*) and Twitter Card meta tags, plus supports fetching and caching metadata from external URLs. This directly affects how product pages render when shared on Facebook, LinkedIn, X, Slack, WhatsApp, and iMessage — a measurable CTR lever for content, marketplace, and referral-driven products.Adopt when:
Look elsewhere when:
For executives: This is a small, free, MIT-licensed library that makes our pages render with proper titles, descriptions, and preview images when people share them on social platforms and in messaging apps. Better previews mean more clicks from the same traffic — it is a cheap, direct lever on acquisition. Operating cost is effectively zero, and the v1.2.1 release confirms the project is being kept current with Laravel's latest major version, so it will not become a blocker when we upgrade the framework.
For engineering: Add via Composer, publish the config, and emit tags through the facade or a Blade include; it also handles fetching and caching metadata from external URLs. The 1.2.1 change set is a single non-breaking Laravel 13 compatibility update plus a first-time contributor — no API changes, no deprecations, safe to bump on a patch. Two caveats worth stating up front: it is community-maintained with a narrow contributor base, so pin the version and add a thin test asserting our expected tag output; and it only covers server-rendered heads, so any client-rendered routes need their own meta handling. Recommend a trial on one high-traffic template, measure share-preview quality, then roll out.
How can I help you explore Laravel packages today?