2017 © Pedro PelĂĄez
 

library oauth

PHP 5.3+ oAuth 1/2 Library

image

lusitanian-cmdev/oauth

PHP 5.3+ oAuth 1/2 Library

  • Thursday, December 11, 2014
  • by developers.crowdmetric
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 433 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

PHPoAuthLib

PHPoAuthLib provides oAuth support in PHP 5.3+ and is very easy to integrate with any project which requires an oAuth client., (*1)

Build Status Code Coverage Scrutinizer Quality Score Latest Stable Version Total Downloads, (*2)

Installation

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": {
        "lusitanian/oauth": "~0.3"
    }
}

And install dependencies:, (*5)

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install

Features

  • PSR-0 compliant for easy interoperability
  • Fully extensible in every facet.
    • You can implement any service with any custom requirements by extending the protocol version's AbstractService implementation.
    • You can use any HTTP client you desire, just create a class utilizing it which implements OAuth\Common\Http\ClientInterface (two implementations are included)
    • You can use any storage mechanism for tokens. By default, session, in-memory and Redis.io (requires PHPRedis) storage mechanisms are included. Implement additional mechanisms by implementing OAuth\Common\Token\TokenStorageInterface.

Service support

The library supports both oAuth 1.x and oAuth 2.0 compliant services. A list of currently implemented services can be found below., (*6)

Included service implementations

  • OAuth1
    • BitBucket
    • Etsy
    • FitBit
    • Flickr
    • Scoop.it!
    • Tumblr
    • Twitter
    • Xing
    • Yahoo
  • OAuth2
    • Amazon
    • BitLy
    • Box
    • Dailymotion
    • Dropbox
    • Facebook
    • Foursquare
    • GitHub
    • Google
    • Harvest
    • Heroku
    • Instagram
    • Jawbone UP
    • LinkedIn
    • Mailchimp
    • Microsoft
    • PayPal
    • Pocket
    • Reddit
    • RunKeeper
    • SoundCloud
    • Ustream
    • Vkontakte
    • Yammer
  • more to come!

Examples

Examples of basic usage are located in the examples/ directory., (*7)

Usage

For usage with complete auth flow, please see the examples. More in-depth documentation will come with release 1.0., (*8)

Framework Integration

  • Lithium: SĂ©bastien Charrier has written an adapter for the library.
  • Laravel 4: Dariusz Prząda has written a service provider for the library.

Extensions

  • Extract normalized user data from OAuth Services with the library PHPoAuthUserData by Luciano Mammino

Tests

To run the tests, you must install dependencies with composer install --dev, (*9)

The Versions

11/12 2014

dev-master

9999999-dev

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

05/09 2014

v0.3.5

0.3.5.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

30/03 2014

v0.3.0

0.3.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

25/12 2013

v0.2.5

0.2.5.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

09/11 2013

v0.2.4

0.2.4.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

23/09 2013

v0.2.3

0.2.3.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

03/09 2013

v0.2.2

0.2.2.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

29/08 2013

v0.2.1

0.2.1.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

29/08 2013

v0.2.0

0.2.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

19/06 2013

1.0.x-dev

1.0.9999999.9999999-dev

PHP 5.4+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

27/02 2013

v0.1.4

0.1.4.0

PHP 5.4+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

21/02 2013

v0.1.3

0.1.3.0

PHP 5.4+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

17/02 2013

v0.1.2

0.1.2.0

PHP 5.4+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

12/02 2013

v0.1.1

0.1.1.0

PHP 5.4+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by David Desberg

authentication authorization oauth security

12/02 2013

v0.1.0

0.1.0.0

PHP 5.4+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by David Desberg

authentication authorization oauth security