Overview for feature-flags

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.