Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionIs there an OAuth consumer library for PHP, that ideally can be used for Google's API?
Google offers their own PHP SDK using OAuth2.
Check it out at: http://code.google.com/p/google-api-php-client/wiki/OAuth2
Try this one: https://github.com/vznet/oauth_2.0_client_php. It claims it uses the draft 10 of the current OAuth 2.0 specification.
By checking github a bit we found this one: https://github.com/adoy/PHP-OAuth2
精彩评论