Prism is a PHP package that allows you to communicate with different AI providers through a unified API. It was created by TJ Miller and is a perfect fit for Laravel applications.
In this article I wrote for Tighten, I built a Pictionary game using Prism: we draw on the screen using HTML Canvas, send the image to the LLM, and it guesses what we've drawn.
If you want to check out the article (and see my incredible drawing skills!), click the box below.



