Sometimes It Works - Building an OpenGraph Image Generator in PHP

Опубликовано: 01 Март 2026
на канале: Simon Hamp
176
8

Building things with PHP and Laravel (and occasionally Rust) and talking a little bit about tech and other topics.

A change of pace this time around where I'm going to build an open source tool that I've wanted for my blog and a few other projects to make open graph images dynamically.

Here's where we got to:
https://github.com/simonhamp/the-og

Here's the link to Adrian's gist:
https://gist.github.com/nuernbergerA/...

Here's the different inspirations I had:
https://mugshotbot.com/
https://www.netlify.com/blog/dynamica...
https://pociot.dev/33-dynamically-gen...

Want to stay up to date with my work and be the first to hear about what we'll be doing on streams?
Follow me on Twitter (  / simonhamp  ) or Mastodon (https://phpc.social/@simonhamp)