pyyoshi / google-api-php-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
Client library for Google APIs
dev-master / 1.0.x-dev
2014-06-14 07:10 UTC
Requires
- php: >=5.2.1
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2019-02-20 18:03:27 UTC
README
Google APIs Client Library for PHP
Description
The Google API Client Library enables you to work with Google APIs such as Google Cloud Storage, Google OAuth2 on your server.
Requirements
Developer Documentation
http://developers.google.com/api-client-library/php
Basic Example
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");
Support Phalcon PHP
example
# loader.php $loader = new \Phalcon\Loader(); $loader->registerDirs([ __DIR__ . '/../../vendor/pyyoshi/google-api-php-client/src' ])->register(); # example.php var_dump(\Google\Client::LIBVER);
Code Quality
$ ./check_psr.sh
Docker Test
$ 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