The Christmas Advent Calender is now open! Get a free item from the Christmas 2026 collection every day Open your advent calendar
The "best" way to generate dynamic images when it comes to providing dynamic images is to use a headless version of Google Chrome, but I think this is overkill, and who really wants a browser on a server with only a CLI? Not to mention the memory usage that Chrome uses. There must be a better way, and there is. Introducing Prism Open Graph, a installable package on Linux and Windows that runs on a local socket to generate images. Here's a few examples of some of the images you'd see if you copied links and pasted them somewhere like Discord:



So we've now got HTML and CSS without the overhead of a browser, with only 50mb of memory.
Updated PHP packages to the latest versions.