The Google API Client Library enables you to work with Google APIs such as Google Cloud Storage, Google OAuth2 on your server.
http://developers.google.com/api-client-library/php
See the examples/ directory for examples of the key client features.
<?php
require_once 'Google/Autoloader.php';
\Google\Autoloader::register();
$client = new \Google\Client();
$client->setApplicationName("Client_Library_Examples");
$client->setDeveloperKey("YOUR_APP_KEY"); # loader.php
$loader = new \Phalcon\Loader();
$loader->registerDirs([
__DIR__ . '/../../vendor/pyyoshi/google-api-php-client/src'
])->register();
# example.php
var_dump(\Google\Client::LIBVER);$ ./check_psr.sh$ docker build -t pyyoshi/google-api-php-client:1.1.4 .
$ docker run -i -t pyyoshi/google-api-php-client:1.1.4 /bin/bash
$ service memcached start
$ cd /tmp/google-api-php-client-test && ./run_test.sh