PHPackages                             sdv/ibp-sdk-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. [HTTP &amp; Networking](/categories/http)
4. /
5. sdv/ibp-sdk-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sdv/ibp-sdk-php
===============

Http Client for the IBP API.

1.8.4(1y ago)030.9k↓73.1%6[1 PRs](https://github.com/SDV-Plurimedia/ibp-sdk-php/pulls)MITPHP

Since Aug 28Pushed 7mo ago4 watchersCompare

[ Source](https://github.com/SDV-Plurimedia/ibp-sdk-php)[ Packagist](https://packagist.org/packages/sdv/ibp-sdk-php)[ RSS](/packages/sdv-ibp-sdk-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (2)Versions (23)Used By (0)

IBP API Client
==============

[](#ibp-api-client)

A PHP client for the IBP API.

Index
-----

[](#index)

- [Installation](#installation)
- [Usage](#usage)
- [Authentication](#authentication)
- [Folders](#folders)
- [Files](#files)
- [Application](#application)
- [Methodes](#methodes)
- [Pipelines](#pipelines)

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

[](#installation)

Installing via composer

```
composer require sdv/ibp-sdk-php

```

Usage
-----

[](#usage)

```
use SdV\Ibp;

$ibp = new Ibp('API_BASE_URL');

```

### Exceptions

[](#exceptions)

```
try {
    $folders = $ibp->setApplicationId('APPLICATION-ID')
        ->setApplicationToken('APPLICATION-TOKEN')
        ->folders();
} catch (ApiException $e) {
    /** @var Ibp\Resources\Error */
    var_dump($e->error);
}

```

### Authentication

[](#authentication)

#### Utiliser un application id

[](#utiliser-un-application-id)

```
$ibp->setApplicationId('APPLICATION-ID-HERE');

```

#### Utiliser un application token

[](#utiliser-un-application-token)

```
$ibp->setApplicationToken('APPLICATION-TOKEN-HERE');

```

#### Utiliser un upload token

[](#utiliser-un-upload-token)

```
$ibp->setUploadToken('UPLOAD-TOKEN-HERE');

```

### Générer un upload token

[](#générer-un-upload-token)

```
$token = $ibp
    ->setApplicationId('app_id')
    ->setApplicationSecret('app_secret')
    ->uploadToken('john.doe@example.com');

```

Il est possible de passer un paramètre pour configurer la durée de vie du token (en seconde)

```
// Le token sera utilisable pendant 2 minutes (120 secondes)
$token = $ibp
    ->setApplicationId('app_id')
    ->setApplicationSecret('app_secret')
    ->uploadToken('john.doe@example.com', 120);

```

### Générer un application token

[](#générer-un-application-token)

```
$token = $ibp
    ->setApplicationId('app_id')
    ->setApplicationSecret('app_secret')
    ->applicationToken();

```

Il est possible de passer un paramètre pour configurer la durée de vie du token (en seconde)

```
// Le token sera utilisable pendant 2 minutes (120 secondes)
$token = $ibp
    ->setApplicationId('app_id')
    ->setApplicationSecret('app_secret')
    ->applicationToken(120);

```

### Folders

[](#folders)

#### Récupérer la liste des folders.

[](#récupérer-la-liste-des-folders)

```
$folders = $ibp->folders();

```

#### Récupérer un folder.

[](#récupérer-un-folder)

```
$folder = $ibp->folder('591c57736afd7d0106486d02');

```

#### Créer un folder.

[](#créer-un-folder)

```
$folder = $ibp->createFolder('Mes documents');

```

#### Mettre à jour un folder.

[](#mettre-à-jour-un-folder)

```
$folder = $ibp->updateFolder('591d4dff22b60a00af674c52', 'Images');

```

#### Ajouter un file dans un folder.

[](#ajouter-un-file-dans-un-folder)

```
$folder = $ibp->addFileInFolder('591d4dff22b60a00af674c52', '59142cd4a64da6014c769813');

```

#### Enlever un file d'un folder.

[](#enlever-un-file-dun-folder)

```
$deleted = $ibp->removeFileFromFolder('591d4dff22b60a00af674c52', '59142cd4a64da6014c769813');

```

### Files

[](#files)

#### Récupérer la liste des files.

[](#récupérer-la-liste-des-files)

```
$files = $ibp->files();

```

#### Récupérer un file.

[](#récupérer-un-file)

```
$file = $ibp->file('59142cd4a64da6014c769813');

```

#### Tagger un file

[](#tagger-un-file)

```
$file = $ibp->TagFile('59142cd4a64da6014c769813', 'manual', ['tag 1', 'tag 2']);

```

#### Uploader un file

[](#uploader-un-file)

```
$fileContent = fopen(__DIR__. '/README.md', 'r');
$file = $ibp->uploadFile($fileContent);

```

#### Supprimer un fichier

[](#supprimer-un-fichier)

```
$ibp->deleteFile('59142cd4a64da6014c769813');

```

#### Activer / Desactiver le mode de detection intelligente de Thumbor

[](#activer--desactiver-le-mode-de-detection-intelligente-de-thumbor)

```
$ibp->setSmartMode('59142cd4a64da6014c769813', false);

```

### Application

[](#application)

#### Récupérer la liste des applications.

[](#récupérer-la-liste-des-applications)

```
$apps = $ibp->applications();

```

#### Récupérer une application.

[](#récupérer-une-application)

```
$app = $ibp->application('5911924f302f600102779d23');

```

#### Créer une application.

[](#créer-une-application)

```
$app = $ibp->createApplication('Application iPhone v2', 'La nouvelle application iPhone ...');

```

#### Mettre à jour les infos d'une application.

[](#mettre-à-jour-les-infos-dune-application)

```
$app = $ibp->updateApplication('591d57fe22b60a00e2075f12', 'Application Android v2', 'New Desc');

```

#### Supprimer une application

[](#supprimer-une-application)

```
$isDeleted = $ibp->deleteApplication('591d57fe22b60a00e2075f12');

```

### Methodes

[](#methodes)

#### Récupérer la liste des methodes.

[](#récupérer-la-liste-des-methodes)

```
$methodes = $ibp->methodes();

```

#### Récupérer une methode.

[](#récupérer-une-methode)

```
$methode = $ibp->methode('5911924f302f600102779d23');

```

#### Créer une methode.

[](#créer-une-methode)

```
$methode = $ibp->createMethode([
    'context' => 'square',
    'generator' => 'Thumbor',
    'param' => [
        'force_ration' => '1:1',
        'crop_width' => 206,
        'crop_width' => 206,
        'crop_x' => 931,
        'crop_y' => 274
    ],
    'description' => 'Image carré'
]);

```

#### Mettre à jour les infos d'une application.

[](#mettre-à-jour-les-infos-dune-application-1)

```
$methode = $ibp->updateMethode('591d57fe22b60a00e2075f12', [
    'context' => 'square',
    'generator' => 'Thumbor',
    'param' => [
        'force_ration' => '1:1',
        'crop_width' => 206,
        'crop_width' => 206,
        'crop_x' => 931,
        'crop_y' => 274,
    ],
]);

```

#### Supprimer une methode

[](#supprimer-une-methode)

```
$isDeleted = $ibp->deleteMethode('591d57fe22b60a00e2075f12');

```

### Pipelines

[](#pipelines)

#### Récupérer la liste des pipelines.

[](#récupérer-la-liste-des-pipelines)

```
$pipelines = $ibp->pipelines();

```

Credits
-------

[](#credits)

Inspired by The [Forge SDK](https://github.com/themsaid/forge-sdk)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance52

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~188 days

Recently: every ~253 days

Total

15

Last Release

591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/569d758aa4ae4d599d4b3145f9d30e72da3052745389e2ab54ad978641e0879b?d=identicon)[SDV Plurimédia](/maintainers/SDV%20Plurim%C3%A9dia)

---

Top Contributors

[![fabriceclementz](https://avatars.githubusercontent.com/u/1771483?v=4)](https://github.com/fabriceclementz "fabriceclementz (20 commits)")[![l0uison](https://avatars.githubusercontent.com/u/133804240?v=4)](https://github.com/l0uison "l0uison (7 commits)")[![flibidi67](https://avatars.githubusercontent.com/u/11457681?v=4)](https://github.com/flibidi67 "flibidi67 (4 commits)")[![jquillet](https://avatars.githubusercontent.com/u/22450521?v=4)](https://github.com/jquillet "jquillet (2 commits)")[![JulLeui](https://avatars.githubusercontent.com/u/172024120?v=4)](https://github.com/JulLeui "JulLeui (2 commits)")

---

Tags

httpapiIBP

### Embed Badge

![Health badge](/badges/sdv-ibp-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/sdv-ibp-sdk-php/health.svg)](https://phpackages.com/packages/sdv-ibp-sdk-php)
```

###  Alternatives

[quickbooks/v3-php-sdk

The Official PHP SDK for QuickBooks Online Accounting API

28210.6M33](/packages/quickbooks-v3-php-sdk)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.7M18](/packages/xeroapi-xero-php-oauth2)[fschmtt/keycloak-rest-api-client-php

PHP client to interact with Keycloak's Admin REST API.

49108.6k2](/packages/fschmtt-keycloak-rest-api-client-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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