Caching the Laravel user provider with a decorator

11th March 2020 9:20 pm

A couple of years ago I posted this article about constructing a caching user provider for Laravel. It worked, but with the benefit of…

The trouble with integrated static analysis

12th February 2020 10:40 pm

I've always been a big fan in general of tools that provide feedback about the quality of my code. The development role in which I spent the…

Don't use stdClass

9th February 2020 10:10 am

The digital agency I work for specialises in marketing, so some of my work tends to relate to mailing lists. This week I was asked to look…

F*** PHPStorm Man and the high horse he rode in on

25th January 2020 10:25 pm

There's a particularly unpleasant type of programmer that exists, and you've probably met him, either online or in person. I call him…

Input components with the useState and useEffect hooks in React

27th October 2019 9:20 pm

Like many developers who use React.js, I've been eager to explore the Hooks API in the last year or so. They allow for easier ways to share…