A basic example with silex micro-framework
curl -s https://getcomposer.org/installer | php
php composer.phar create-project mcurisilva/silex-basic-project project_name
Modify the config/config.yml file to configure your database
Add your url in the config/routing.yml file