PHPackages                             fordbedia/cj-query - 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. [API Development](/categories/api)
4. /
5. fordbedia/cj-query

ActiveLibrary[API Development](/categories/api)

fordbedia/cj-query
==================

Simple SDK for CJ

1.0.5(6y ago)323MITPHPPHP &gt;=7.0

Since Dec 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fordbedia/cj-query)[ Packagist](https://packagist.org/packages/fordbedia/cj-query)[ Docs](https://github.com/fordbedia/cj-query.git)[ RSS](/packages/fordbedia-cj-query/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Simple SDK for Commission Junction pull request
===============================================

[](#simple-sdk-for-commission-junction-pull-request)

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

[](#installation)

You can install the package via composer:

`composer require fordbedia/cj-query`

Usage
-----

[](#usage)

Add your credentials website id and your personal access token

```
$cj = new \CJQuery\Src\CjConn([
  '',
	''
]);

$p = $cj->assignScope('product-search')->addParams(array(
    'keywords' => 'samsung',
    'records-per-page' => 10,
    'page-number' => 1
))->parseXML();

var_dump($p);

```

Scopes available
----------------

[](#scopes-available)

`product-search``advertiser-lookup`

Product Search
--------------

[](#product-search)

```
$cj = new \CJQuery\Src\CjConn([
  '',
  '',
]);

return $cj->productSearch(array(
	'keywords' => 'samsung',
	'records-per-page' => 10,
	'page-number' => 1
));

```

Link Search
-----------

[](#link-search)

```
$cj = new \CJQuery\Src\CjConn([
	'',
	'',
]);

return $cj->linkSearch(array(
	'keywords' => 'Hilka - -Heavy Duty Stapler with 800 Staples',
	'advertiser-ids' => 849260
));

```

Advertiser Lookup
-----------------

[](#advertiser-lookup)

```
$cj = new \CJQuery\Src\CjConn([
	'',
	'',
]);

return $cj->advertiserLookup(array(
	'records-per-page' => 100,
	'page-number' => 1,
	'advertiser-ids' => 'joined'
));

```

Additional parameters
---------------------

[](#additional-parameters)

Please refer to the commission junction [developer docs](https://developers.cj.com/).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~44 days

Total

5

Last Release

2523d ago

PHP version history (2 changes)1.0PHP &gt;=5.6.0

1.0.2PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a42034eead17b4bb671a0b54cdc61a006e235175013a44588f47afb80eeee4f?d=identicon)[fordbedia](/maintainers/fordbedia)

---

Top Contributors

[![fordbedia](https://avatars.githubusercontent.com/u/18757107?v=4)](https://github.com/fordbedia "fordbedia (10 commits)")

---

Tags

apisdkcj

### Embed Badge

![Health badge](/badges/fordbedia-cj-query/health.svg)

```
[![Health](https://phpackages.com/badges/fordbedia-cj-query/health.svg)](https://phpackages.com/packages/fordbedia-cj-query)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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