I hadn’t used PHP in 10 years and then, all of a sudden, I found myself trying to add headers to the response of an API server that’s written entirely in PHP. At first I was stumped because the documentation for Slim seemed incorrect. However, one quick Google search turned up this article, which probably saved me an hour of work.