Hi! My name is Kennard. I'm a programmer living in Belgium and I care way too much about clean, maintainable code. Articles will usually be web related but that's no guarantee.

August 28, 2019

Being explicit about entity managers

Let's say we have two entity managers: master and tenant. When the dependency inversion principle is being applied, it might not be very obvious which entity manager is...


August 23, 2019

Visually comparing PDF files with PHPUnit

At work we have an HTTP endpoint which returns PDF responses. The endpoint accepts an id and some data. The id determines which template is chosen and the data is then applied to that template....


June 19, 2019

Debugging the .gitignore file

Ever had a rogue .gitignore causing problems? Here's a quick tip on how to debug something like that. Run the following command in the root of your project directory. The important bit here is the...


June 18, 2019

Better shared folders for Virtualbox development boxes

Chances are that you have had issues while trying to run npm install, gulp watch, npm run dev or something similar on your Homestead, Vagrant or pure Virtualbox...