Skip to content
This repository was archived by the owner on Apr 23, 2022. It is now read-only.

PyYoshi/google-api-php-client

 
 

Repository files navigation

Build Status

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

About

This library is abandoned and no longer maintained.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%