edwrodrig/google_utils

Library to retrieve information from google drive

1.5.5 2019-07-02 22:12 UTC

This package is auto-updated.

Last update: 2024-04-29 03:51:07 UTC


README

A php library to read some Google Services

Latest Stable Version Total Downloads License Build Status codecov.io Code Coverage Code Climate

My use cases

  • Reading resources like images from google drive.
  • Read google spreadsheets and export them as a json

My infrastructure is targeted to Ubuntu 16.04 machines with last php7.2 installed from ppa:ondrej/php.

How to get the credentials file

Documentation

The source code is documented using phpDocumentor style, so it should pop up nicely if you're using IDEs like PhpStorm or similar.

Composer

composer require edwrodrig/google_utils

Testing

The test are built using PhpUnit. It generates images and compare the signature with expected ones. Maybe some test fails due metadata of some generated images, but at the moment I haven't any reported issue. I created a test google account to perform the testing and put read-only credentials in this repository publicly. It is not a good security practice but I'm going to trust in people of doesn't doing something nasty.

License

MIT license. Use it as you want at your own risk.

About language

I'm not a native english writer, so there may be a lot of grammar and orthographical errors on text, I'm just trying my best. But feel free to correct my language, any contribution is welcome and for me they are a learning instance.