Projects / PHP OAuth API


PHP OAuth API authorizes user access using the OAuth protocol. It abstracts OAuth 1.0, 1.0a, and 2.0 in the same class. It provides built-in support for popular OAuth servers: 37Signals, Amazon, Buffer, Bitbucket,, Dailymotion, Discogs, Disqus, Dropbox with OAuth 1.0 and 2.0, Etsy, Eventful, Facebook, Fitbit, Flickr, Foursquare, github, Google with OAuth 1.0a and OAuth 2.0, Instagram, LinkedIn, Microsoft, Rdio, Reddit, RightSignature, Salesforce,, StockTwits, SurveyMonkey, Tumblr, Twitter, VK, Withings, Xero, XING, and Yahoo!. Every other OAuth server is supported by setting an endpoint URLs and other parameters using specific class variables or an external JSON configuration file. The class can also send requests to an API using the previously-obtained OAuth access token. For servers which support offline access, the class can renew expired tokens automatically using refresh tokens.

Operating Systems

Recent releases

  •  18 Jun 2014 11:45

    Release Notes: This release adds support for refreshing expired OAuth 1.0 tokens. It also fixes the check for expired OAuth 2.0 tokens without a refresh token.

    •  19 May 2014 11:53

      Release Notes: This release adds support to authorizion flow using the user name and password. It also made the Process function fail if the access token was already set manually. It added built-in support to OAuth servers of Mavenlink, oDesk, RunKeeper, and

      •  29 Apr 2014 13:17

        Release Notes: This release fixes sending POST requests uploading custom content type data.

        •  25 Mar 2014 12:01

          Release Notes: This version adds support for OAuth servers 37Signals, Amazon, Buffer, Discogs, Etsy, Xero, and Rdio. It can read new server configurations from a JSON file. It can obtain the login dialog URL page automatically from the request token response. It can also parse API call XML responses using SimpleXML.

          •  27 Jan 2014 11:18

            Release Notes: This release adds support for OAuth servers Withings, VK, and Google with OAuth 1.0. It also adds support for API calls appending parameters to the request URL for non-POST OAuth 2.0 requests, and makes Twitter API call parameters not be passed via URL.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.