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.

113.6kPHP

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 3w 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

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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)")[![vincehodsdon](https://avatars.githubusercontent.com/u/40832?v=4)](https://github.com/vincehodsdon "vincehodsdon (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

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)[better-futures-studio/filament-local-logins

This is my package filament-local-logins

1334.6k](/packages/better-futures-studio-filament-local-logins)

PHPackages © 2026

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