2017 © Pedro Peláez
 

library unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

image

vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  • Thursday, June 8, 2017
  • by vclayton
  • Repository
  • 2 Watchers
  • 4 Stars
  • 47,604 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 7 Versions
  • 2 % Grown

The README.md

unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension, (*1)

Build Status, (*2)

Debugging Info

There is a static OAuth::getDebugInfo() method that will return details about the most recent request. There will only be debug info if enableDebug() has been called., (*3)

/**
 * Returns debug info about the most recent fetch.
 * If no fetch has happened, debug info will be empty.
 * @param string $key  If given, return specific entry from debug info. Key is one of 'lastResponse', 'lastResponseInfo', 'lastResponseCode', or 'lastHeader'.
 * @return mixed  Returns a key/value array if key is not given, otherwise returns the specific key requested. If the key is not set, returns null.
 */
public static function getDebugInfo($key=null)

Running tests

The unmodified upstream PECL tests are in tests/upstream. The runtests script patches and munges them into a more phpunit-friendly form, then runs them., (*4)

TODO

  • The OAuthProvider class has no upstream compliance tests, so it is not yet implemented.
  • The setRequestEngine() call is currently ignored, only Curl is implemented.

Notes

How to checkout the source code for the PECL OAuth extension: svn co https://svn.php.net/repository/pecl/oauth, (*5)

The Versions

08/06 2017

dev-master

9999999-dev https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl

08/06 2017

v0.5.5

0.5.5.0 https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl

20/04 2016

v0.5.4

0.5.4.0 https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl

18/04 2016

v0.5.3

0.5.3.0 https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl

16/04 2016

v0.5.2

0.5.2.0 https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl

05/11 2015

v0.5.1

0.5.1.0 https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl

30/09 2014

v0.5.0

0.5.0.0 https://github.com/vclayton/unpecl-oauth

Native PHP drop-in replacement for the PECL OAuth extension

  Sources   Download

MIT

The Requires

  • php >=5.1.0
  • ext-curl *
  • ext-openssl *
  • ext-hash *

 

oauth pecl