MySQL authentication in Silex, the PHP micro-framework
Official documentation of Silex provides a lot of very useful examples to start a project. However, there is no complete example of setting up MySQL authentication. Here are the needed steps to accomplish that.