Coding example using the Silex framework