2017 © Pedro PelĂĄez
 

library oauth

PHP 5.3+ oAuth 1/2 Library

image

lusitanian/oauth

PHP 5.3+ oAuth 1/2 Library

  • Saturday, July 28, 2018
  • by PeeHaa
  • Repository
  • 62 Watchers
  • 1000 Stars
  • 3,653,514 Installations
  • PHP
  • 120 Dependents
  • 3 Suggesters
  • 433 Forks
  • 167 Open issues
  • 42 Versions
  • 7 % Grown

The README.md

PHPoAuthLib

NOTE: I'm looking for someone who could help to maintain this package alongside me, just because I don't have a ton of time to devote to it. However, I'm still going to keep trying to pay attention to PRs, etc., (*1)

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

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

Installation

This library can be found on Packagist. The recommended way to install this is through composer., (*4)

    composer require lusitanian/oauth

Features

  • PSR-4
  • 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., (*5)

Included service implementations

  • OAuth1
    • 500px
    • BitBucket
    • Etsy
    • FitBit
    • Flickr
    • QuickBooks
    • Scoop.it!
    • Tumblr
    • Twitter
    • Yahoo
  • OAuth2
    • Amazon
    • BitLy
    • Bitrix24
    • Box
    • Buffer
    • Dailymotion
    • Delicious
    • Deezer
    • DeviantArt
    • Dropbox
    • Eve Online
    • Facebook
    • Foursquare
    • GitHub
    • Google
    • Harvest
    • Heroku
    • Hubic
    • Instagram
    • Jawbone UP
    • LinkedIn
    • Mailchimp
    • Microsoft
    • Mondo
    • Nest
    • Netatmo
    • Parrot Flower Power
    • PayPal
    • Pinterest
    • Pocket
    • Reddit
    • RunKeeper
    • Salesforce
    • SoundCloud
    • Spotify
    • Strava
    • Stripe
    • Ustream
    • Vimeo
    • Vkontakte
    • Xing
    • Yahoo
    • Yammer
  • more to come!

Examples

    php -S localhost:8000 -t examples

Then point your browser to:, (*6)

    http://localhost:8000/

Usage

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

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.
  • Laravel 5: Valentin IvaƟcu ported Dariusz Prząda's Laravel 4 library to Laravel 5.
  • Symfony: Alexander Pinnecke has written a Symfony Bundle for the library.

Extensions

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

Tests

    composer tests

The Versions

28/07 2018

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
by Elliot Chance

authentication authorization oauth security

14/02 2018

v0.8.11

0.8.11.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

13/07 2016

v0.8.10

0.8.10.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

24/02 2016

v0.8.9

0.8.9.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

14/02 2016

v0.8.8

0.8.8.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

11/02 2016

v0.8.7

0.8.7.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

21/12 2015

v0.8.6

0.8.6.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

10/12 2015

v0.8.5

0.8.5.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

08/12 2015

v0.8.4

0.8.4.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

17/11 2015

v0.8.3

0.8.3.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

29/10 2015

v0.8.2

0.8.2.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

22/10 2015

dev-capture-error-body

dev-capture-error-body

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

14/10 2015

v0.8.1

0.8.1.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

13/10 2015

v0.8.0

0.8.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

08/10 2015

v0.7.1

0.7.1.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

07/10 2015

v0.7.0

0.7.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

07/10 2015

v0.6.2

0.6.2.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

01/10 2015

v0.6.1

0.6.1.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

24/09 2015

v0.6.0

0.6.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

20/09 2015

v0.5.5

0.5.5.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

17/09 2015

v0.5.4

0.5.4.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

17/09 2015

v0.5.3

0.5.3.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

16/09 2015

v0.5.2

0.5.2.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

14/09 2015

v0.5.1

0.5.1.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

11/09 2015

v0.5.0

0.5.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

10/09 2015

v0.4.1

0.4.1.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

09/09 2015

v0.4.0

0.4.0.0

PHP 5.3+ oAuth 1/2 Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by David Desberg
by Elliot Chance

authentication authorization oauth security

09/09 2015

v0.3.6

0.3.6.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

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