Overview for symfony

Conditional Routing in Symfony using ENV Vars

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.

Symfony and Dokku

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.

Behat & Symfony's Process component

Here's a super-quick way of using the Symfony Process Component in Behat Contexts to run processes in the background.