Tag: api

GuzzleHttp VCR

A few days ago I pushed out a very small library to help with testing APIs using Guzzle: dshafik/guzzlehttp-vcr. https://twitter.com/dshafik/status/634549904996737024 This is a simple middleware that records a request’s response the first…

Read More

Return Values

In #phpc we recently had a discussion about function return values; specifically from database queries. I’m going to go on a (admittedly, rather sturdy looking) limb and say this applies to pretty…

Read More