PHPackages                             gfe/cleverreachapi - 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. gfe/cleverreachapi

ActiveLibrary[API Development](/categories/api)

gfe/cleverreachapi
==================

CleverReach api abstraction for simple newsletter subscribe

1.0.3(2y ago)0134PHP

Since Sep 27Pushed 2y ago3 watchersCompare

[ Source](https://github.com/GFEMediaGmbH/cleverreachapi)[ Packagist](https://packagist.org/packages/gfe/cleverreachapi)[ RSS](/packages/gfe-cleverreachapi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

cleverreachapi
==============

[](#cleverreachapi)

generic php class for interacting with cleverreach

Main Usage
----------

[](#main-usage)

```
composer require gfe/cleverreachapi

```

in your implementation

```
use Gfe\Cleverreachapi\Apiconnector;
....
$cleverapi = new Apiconnector($user , $pass); // the integration api credentials
$status = $cleverapi->subscribeUser($email, $listId,$formId,'someInfoWhereThisComesFrom'); // email to subscribe to which list and what email form to send for double opt in

```

if you want to prevent getting a new token everytime

```
$tokenObject = $cleverapi->getTokenObject();

sample token
{   "access_token":"xxx",
    "expires_in":2098276,
    "token_type":"bearer",
    "token_invalid_stamp":1697905128
}

```

store this somewhere safe and you can set the token either via constructor

```
 $cleverapi = new Apiconnector($user , $pass , $tokenObject);

```

or explicit

```
$tokenObject = $cleverapi->setTokenObject($tokenObject);

```

if token is no more valid api will create a new one that you have to save in your app ( see token\_invalid\_stamp ) so compare getTokenObject with your saved token

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Total

4

Last Release

954d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69beb9eeafde5a84fcc218974c5da6912c6e2b179e75d1b3851c851d8f86ed0a?d=identicon)[frithjof](/maintainers/frithjof)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gfe-cleverreachapi/health.svg)

```
[![Health](https://phpackages.com/badges/gfe-cleverreachapi/health.svg)](https://phpackages.com/packages/gfe-cleverreachapi)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M474](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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