Transferred from: https://github.com/IndiePaaS/IndiePaaS/issues/77
https://github.com/silexlabs/Silex