PHPackages                             befool-inc/http\_oauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. befool-inc/http\_oauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

befool-inc/http\_oauth
======================

HTTP\_OAuth package contains the basics for both OAuth consumers and providers.

013.6k↓100%PHP

Since Aug 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/befool-inc/HTTP_OAuth)[ Packagist](https://packagist.org/packages/befool-inc/http_oauth)[ RSS](/packages/befool-inc-http-oauth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
HTTP_OAuth is a PEAR package implementing the OAuth 1.0a protocol.
Consumer, Provier (request and response) classes are provided.
See the Consumer examples below:

HTTP_OAuth_Consumer

Main consumer class that assists consumers in establishing OAuth
creditials and making OAuth requests.

Example:

$consumer = new HTTP_OAuth_Consumer('key', 'secret');
$consumer->getRequestToken('http://example.com/oauth/request_token', $callback);

// Store tokens
$_SESSION['token']        = $consumer->getToken();
$_SESSION['token_secret'] = $consumer->getTokenSecret();

$url = $consumer->getAuthorizeUrl('http://example.com/oauth/authorize');
http_redirect($url); // function from pecl_http

// When they come back via the $callback url
$consumer = new HTTP_OAuth_Consumer('key', 'secret', $_SESSION['token'],
    $_SESSION['token_secret']);
$consumer->getAccessToken('http://example.com/oauth/access_token');

// Store tokens
$_SESSION['token']        = $consumer->getToken();
$_SESSION['token_secret'] = $consumer->getTokenSecret();

// $response is an instance of HTTP_OAuth_Consumer_Response
$response = $consumer->sendRequest('http://example.com/oauth/protected_resource');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/81ec8b8cc98145a80ccae4dfa89dbbb045ecabf3aef2dc736e35870eb8e29aa8?d=identicon)[8823-scholar](/maintainers/8823-scholar)

---

Top Contributors

[![jeffhodsdon](https://avatars.githubusercontent.com/u/40832?v=4)](https://github.com/jeffhodsdon "jeffhodsdon (44 commits)")[![shupp](https://avatars.githubusercontent.com/u/54022?v=4)](https://github.com/shupp "shupp (28 commits)")[![8823-scholar](https://avatars.githubusercontent.com/u/2003110?v=4)](https://github.com/8823-scholar "8823-scholar (6 commits)")[![joestump](https://avatars.githubusercontent.com/u/37667?v=4)](https://github.com/joestump "joestump (5 commits)")

### Embed Badge

![Health badge](/badges/befool-inc-http-oauth/health.svg)

```
[![Health](https://phpackages.com/badges/befool-inc-http-oauth/health.svg)](https://phpackages.com/packages/befool-inc-http-oauth)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M100](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M117](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
