PHPackages                             whitecube/cerepo-api-php - 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. whitecube/cerepo-api-php

ActiveLibrary[API Development](/categories/api)

whitecube/cerepo-api-php
========================

PHP client wrapper for the CeRepo Central Repository API (Infosanté &amp; partners).

v0.1.1(2mo ago)04MITPHPPHP ^8.1.0

Since Apr 9Pushed 2mo agoCompare

[ Source](https://github.com/whitecube/cerepo-api-php)[ Packagist](https://packagist.org/packages/whitecube/cerepo-api-php)[ RSS](/packages/whitecube-cerepo-api-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (1)Versions (2)Used By (0)

Cerepo PHP API client
=====================

[](#cerepo-php-api-client)

This package provides a small PHP client around the Cerepo API.

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

[](#installation)

```
composer require whitecube/cerepo-api-php

```

Configuration
-------------

[](#configuration)

Create a `TokenClient` instance.

```
use Whitecube\Cerepo\TokenClient;

$auth = new TokenClient(
    $tokenUrl,     // e.g. "https://token.cerepo.io/74ab26ad-6287-4bdc-8a6e-a770ae261d2c/oauth2/v2.0/token"
    $clientId,     // your client id
    $clientSecret  // your client secret
);
```

Then, create the main `Client` used to call the Cerepo API:

```
use Whitecube\Cerepo\Client;

$client = new Client($auth, 'https://acc.cerepo.io/api/');
```

Basic usage
-----------

[](#basic-usage)

### Sources

[](#sources)

```
// POST /sources - Add or update a Source
$response = $client->sources()->post([
    'lang'   => 'en',
    'title'  => 'Example article',
    'url'    => 'https://example.com/article',
    'content'=> 'Long content here…',
    'prod_ids' => ['product-1'],
    'val_ids'  => ['value-1'],
    'aud_ids'  => ['audience-1'],
    ...
]);
```

```
// GET /sources/{unf_id} - Get a specific source by unified-id (unf_id)
$source = $client->sources()->get('1234');
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance88

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

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

61d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8435657?v=4)[Whitecube](/maintainers/Whitecube)[@whitecube](https://github.com/whitecube)

---

Top Contributors

[![FlorenceRandaxhe](https://avatars.githubusercontent.com/u/43472197?v=4)](https://github.com/FlorenceRandaxhe "FlorenceRandaxhe (10 commits)")[![toonvandenbos](https://avatars.githubusercontent.com/u/5635557?v=4)](https://github.com/toonvandenbos "toonvandenbos (7 commits)")

### Embed Badge

![Health badge](/badges/whitecube-cerepo-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/whitecube-cerepo-api-php/health.svg)](https://phpackages.com/packages/whitecube-cerepo-api-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3751.2M45](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.9k496.1k32](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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