Is there a simple OAuth2 client for php? [closed]

2019-03-24 13:03发布

问题:

I'm looking for a simple OAuth2 client in php. I tried (https://github.com/adoy/PHP-OAuth2), its complex, in fact most of the clients that I checked are complex.

回答1:

I advice you to give a look to this library PHPoAuthLib (if you didn't yet)

It supports OAuth 1 and 2. You can install it with Composer / Packagist.

There are a lot different implementation examples like twitter, facebook, linkedin etc... You see these examples here.