quick test to add google api to a silex app
$ curl -s http://getcomposer.org/installer | php
The post script installation need the dev dependencies (--dev)
$ php composer.phar install --dev
Copy/paste the config.php.dist.
Customize these configuration files to match your local environement