This is the source code from my PHPNE talk; Silex, From nothing to an API.