Skip to content

Commit

Permalink
Altered google/apiclient dependency to not include 2.0.0 release cand…
Browse files Browse the repository at this point in the history
…idates (#6)
  • Loading branch information
Jordan Hall committed Nov 27, 2015
1 parent 9208f03 commit 9bc62a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"require": {
"php": ">=5.2.1",
"google/apiclient": ">=1.1.4"
"google/apiclient": ">=1.1.4 <2.0.0"
},
"autoload": {
"psr-4": {
Expand Down

3 comments on commit 9bc62a0

@dearsina
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google API client is now on version 2.1.3, can we safely remove this dependency limitation?

@DivineOmega
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dearsina Have you testing the library with higher versions of the Google API client? I believe additional work is required to support versions >= 2.0.0.

@dearsina
Copy link

@dearsina dearsina commented on 9bc62a0 Jun 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DivineOmega You're absolutely right, they've changed quite a few things around, so maybe best to leave it as it is. Since I wrote that comment I realised that this git is mostly for creating applications that need to access multiple users' contacts.

I just needed to access my own address book, so I have switched to using the Google PHP API client instead, as that was sufficient for my needs. The following was the guide I used to set it up, maybe someone else will find it useful also:

https://www.webfoobar.com/node/75

The guide will walk you thru setting up the API for connecting to the contacts of a single, explicitly assigned, Google account. I have no connection with the article writer, but I did find it useful and the guide worked very well for me.

Please sign in to comment.