PHPackages                             pica9/campaign-drive-api-client - 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. pica9/campaign-drive-api-client

ActiveLibrary[API Development](/categories/api)

pica9/campaign-drive-api-client
===============================

1.2.1(10y ago)051[1 PRs](https://github.com/Pica9/cd-api-client-php/pulls)Apache v2PHPPHP &gt;=5.3.3

Since Apr 25Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Pica9/cd-api-client-php)[ Packagist](https://packagist.org/packages/pica9/campaign-drive-api-client)[ Docs](http://swagger.io)[ RSS](/packages/pica9-campaign-drive-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

CampaignDrive API Client for PHP
================================

[](#campaigndrive-api-client-for-php)

Usage
-----

[](#usage)

```
require_once 'autoload.php';

$api = new Pica9\CampaignDrive\ApiClient\DefaultApi;
$api->getApiClient()->getConfig()
    ->setHost('https://your-campaign-drive-domain.com');
try {
    $token = $api->createToken(
        "client_credentials",
        "your-client-id",
        "your-client-secret",
        "read:document"
    );
    $api->getApiClient()->getConfig()
        ->setAccessToken($token->getAccessToken());
    $doc = $api->getDocumentById(1);
    echo $doc->getName();
} catch (\Pica9\CampaignDrive\ApiClient\ApiException $e) {
    echo "Error encountered!\n";
    echo $e->getResponseObject()->getReasonPhrase();
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

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 ~8 days

Total

2

Last Release

3658d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/323b5b311f0a4c194c11f93a0b73c031e95c79d4e09521f2c9d8e06cce8b6a18?d=identicon)[rstrong-pica9](/maintainers/rstrong-pica9)

---

Top Contributors

[![rstrong-pica9](https://avatars.githubusercontent.com/u/3339806?v=4)](https://github.com/rstrong-pica9 "rstrong-pica9 (12 commits)")

---

Tags

phpapisdkswagger

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pica9-campaign-drive-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/pica9-campaign-drive-api-client/health.svg)](https://phpackages.com/packages/pica9-campaign-drive-api-client)
```

###  Alternatives

[dwolla/dwollaswagger

16438.9k](/packages/dwolla-dwollaswagger)[clever/clever-php

231.6k](/packages/clever-clever-php)

PHPackages © 2026

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