Sneak Peek at Anorak

Over the last few months I've been working on my latest side project. I've already mentioned it on Twitter a couple of times, it's Anorak. This blog post explains why I'm working on Anorak and what it'll help developers achieve. Over the last couple of years PHP has started to…

Sunset in Buxton

These photos were taken on my iPhone 6 (not the plus model) and I'm pretty amazed by the quality. There is very little editing in them, just some colour correction from where the screen was showing darker blacks. Some of the colours that we saw were incredible, if you're near…

Laravel model validation with traits

Our application is built around fourty different models, and counting. The biggest thing we deal with is making sure that all of the data is entered correctly. For instance, names must be alpha (with some special characters), we use a custom email validator that allows for "pre-defined" email types which…

Attaching generated files with Laravel & SwiftMailer

In one of our projects we use Laravel to send emails via the default SwiftMailer implementation. On top of that, we use mPDF to generate a PDF, attach it and then send it to customers. We use mPDF because it allows us to do stuff we can't do in other…

Laravel 4 & Dokku Queues, a follow up

This is a follow on post from something I posted few weeks back about Laravel 4 & Dokku: Queue Workers. In the original post I said something silly: I could run the queue command on another server under supervisor but that would be lame and require me to run two…

Walking with Zac

Our Golden Retriever, Zac has started being a lot more obedient when off the lead since his neutering a few weeks back. He's still a complete nutter at home, but whilst we're walking he's staying a lot closer to us and his recall his much better! It's fun walking with…