PHP (7.2), Xdebug and Docker (Compose)

Posted on Thursday February 14, 2019

For our project at work, we needed to set up Xdebug in Docker. Not only this, but we had different developers using different machines and operating systems, the IP of the host would need to be flexible for it to work for us all. Here's how we did it.

PHP and OpenFaaS

Posted on Saturday July 21, 2018

There's been a couple of things recently that have got me to this point

1) Hype around serverless functions 2) My growing interest in OpenFaaS

So here I am, sat in a coffee shop in central London tinkering with OpenFaaS and PHP - here's how it went.

Using SQLite with Kahlan in PHP

Posted on Saturday July 15, 2017

I've been using Kahlan for testing a bit recently, I really like the describe-it style. I had a project where I needed to write an SQLite implementation of a repository and I wanted to use Kahlan to test the implementation, here's how I did it.

Page objects in Behat

Posted on Friday April 7, 2017

When working with web pages in behat, you can use something such as Mink directly to drive the browser and navigate around the site. But with page objects, you can make things a little more re-usable, here's how.

Built with Tailwind CSS using Hugo hosted on Netlify
© 2020 Matt Brunt