Using UUIDs as primary keys with Laravel and PostgreSQL

29th December 2017 6:01 pm

For many applications, using UUID's as the primary keys on a database table can make a lot of sense. For mobile or offline apps, in…

Full text search with Laravel and PostgreSQL

2nd December 2017 11:30 pm

I've touched on using PostgreSQL to implement fuzzy search with Laravel before , but another type of search that PostgreSQL can handle…

Building a postcode lookup client with HTTPlug and PHPSpec

28th November 2017 11:40 am

While PHPUnit is my normal go-to PHP testing framework, for some applications I find PHPSpec superior, in particular REST API clients. I…

Creating custom assertions with PHPUnit

16th November 2017 3:15 pm

Today I've been working on a library I'm building for making it easier to build RESTful API's with Laravel. It uses an abstract RESTful…

Catching debug statements in PHP

6th November 2017 12:00 pm

It's unfortunately quite easy to neglect to remove debugging statements in PHP code. I've done so many times myself, and it's not unknown…