It may be too late, but there is no need to use forked git repos, you can directly link to the native Google svn.
Add the following section to composer.json:
"repositories": [
{
"type": "package",
"package": {
"name": "project/google-api-php-client",
"version": "1.0.0",
"source": {
"type": "svn",
"url": "http://google-api-php-client.googlecode.com/svn",
"reference": "trunk"
}
}
}
]
Notes:
"project/google-api-php-client" name can be any of your choice- If you need a specific revision, use the format "trunk @ revision-number-here" in the reference entry
"require":
"require": {
...
"project/google-api-php-client": "1.0.0"
}
/.
, API Google , "":
"autoload": {
...
"classmap": ["vendor/project/google-api-php-client/src"]
}
"", "" "/": (