Posted by Matt on Sunday February 23, 2020
I recently wanted to be able to control whether a route was available based on an environment variable, in dev I wanted it available, but in production I wanted it turned off (for now). I like using feature flags and environment variables to toggle things on and off, and thought I'd write up how I did it here.
Posted by Matt on Tuesday March 28, 2017
Recently I've been using Dokku to deploy some of my side-projects, I wanted a simple deployment procedure that didn't rely on complicated build systems, as these were just small apps that I needed to host somewhere easily. I'm using Dokku for that - so here's some instructions for getting Symfony working with it.
Posted by Matt on Monday January 23, 2017
Here's a super-quick way of using the Symfony Process Component in Behat Contexts to run processes in the background.