peehaa / phpoauthprovider
PHP5.4+ oAuth provider library
Requires
- php: >=5.4
- ircmaxell/random-lib: 1.0.*
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-12-06 09:20:26 UTC
README
PHPoAuthProvider provides oAuth support in PHP 5.4+ and is very easy to integrate with any project which requires an oAuth provider.
Installation
The recommended way to install the library is add a require
entry in your project's composer file:
"require": {
"peehaa/phpoauthprovider": "0.0.*"
}
Optionally you could manually clone the repository:
git clone https://github.com/PeeHaa/PHPoAuthProvider.git
Or manually download a release.
When cloning or manully downloading a release the library's bootstrap should be included in the project to enable autoloading of the library or the library should be included in another (existing) autoloader stack. The library is compliant with PSR-0.
Features
- PSR-0 compliant for easy interoperability
- Secure default settings
- Unit tested
- Optional rate limiting (a.k.a. throttling)
- Support for oAuth 1a (rfc5849)
- Support for oAuth 2.0 (rfc6749)
Implementations
None yet. Obviously more to come :-)
Version
v0.0.1
This library uses Semantic Versioning 2.0.0.
This library is currently not suitable for production purposes.
Client
For an oAuth client instead of a provider see the PHPoAuthLib project