PHPackages                             w3lifer/ebay-oauth-token - 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. w3lifer/ebay-oauth-token

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

w3lifer/ebay-oauth-token
========================

1.0.0(7y ago)0439MITPHPPHP &gt;=5.6

Since Oct 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/w3roman/ebay-oauth-token)[ Packagist](https://packagist.org/packages/w3lifer/ebay-oauth-token)[ RSS](/packages/w3lifer-ebay-oauth-token/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

ebay-oauth-token
================

[](#ebay-oauth-token)

- [Installation](#installation)
- [Usage](#usage)

Installation
------------

[](#installation)

```
composer require w3lifer/ebay-oauth-token
```

Usage
-----

[](#usage)

```
use w3lifer\EbayOAuthToken;

$ebayOAuthToken =
    new EbayOAuthToken([
        'absPathToFileToStoreUserAccessRefreshToken' => __DIR__ . '/ebay-oath-refresh-token', // Required, string
        'credentials' => EBAY_CREDENTIALS['production']['credentials'], // Required, array
        'ruName' => EBAY_CREDENTIALS['production']['ruName'], // Required, string
        // An authorization code is not required to generate an application access token.
        // It is used once to a store long-lived refresh token when we generate a user access token.
        // https://developer.ebay.com/api-docs/static/oauth-tokens.html
        // 'authorizationCode' => '', // Optional
        'prod' => true, // Optional ("sandbox" environment will be used by default)
    ]);

$applicationAccessToken = $ebayOAuthToken->getApplicationAccessToken();

$userAccessToken = $ebayOAuthToken->getUserAccessToken();
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2761d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4186be143d9793bd7cc7c1bfffaf80de0ac52ca87b8fccebca0d38e73d5dae6c?d=identicon)[w3lifer](/maintainers/w3lifer)

---

Top Contributors

[![w3roman](https://avatars.githubusercontent.com/u/167295763?v=4)](https://github.com/w3roman "w3roman (1 commits)")

---

Tags

tokenoauthebay

### Embed Badge

![Health badge](/badges/w3lifer-ebay-oauth-token/health.svg)

```
[![Health](https://phpackages.com/badges/w3lifer-ebay-oauth-token/health.svg)](https://phpackages.com/packages/w3lifer-ebay-oauth-token)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[namshi/jose

JSON Object Signing and Encryption library for PHP.

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

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)

PHPackages © 2026

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