dev-master
9999999-devPHP 5.3+ oAuth 1/2 Library
MIT
The Requires
- php >=5.3.0
The Development Requires
by Shamim Hasan
authentication authorization oauth security
PHP 5.3+ oAuth 1/2 Library
PHPoAuthLib provides oAuth support in PHP 5.3+ and is very easy to integrate with any project which requires an oAuth client., (*1)
This library can be found on Packagist. The recommended way to install this is through composer., (*3)
Edit your composer.json
and add:, (*4)
{ "require": { "phpvirus/oauth": "0.1.*@dev" } }
And install dependencies:, (*5)
$ curl -sS https://getcomposer.org/installer | php $ php composer.phar install
AbstractService
implementation.OAuth\Common\Http\ClientInterface
(two implementations are included)OAuth\Common\Token\TokenStorageInterface
.The library supports both oAuth 1.x and oAuth 2.0 compliant services. A list of currently implemented services can be found below., (*6)
Examples of basic usage are located in the examples/ directory., (*7)
For usage with complete auth flow, please see the examples. More in-depth documentation will come with release 1.0., (*8)
To run the tests, you must install dependencies with composer install --dev
, (*9)
PHP 5.3+ oAuth 1/2 Library
MIT
authentication authorization oauth security