PHPackages                             worldline-global-collect/connect-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. [API Development](/categories/api)
4. /
5. worldline-global-collect/connect-sdk-php

ActiveLibrary[API Development](/categories/api)

worldline-global-collect/connect-sdk-php
========================================

PHP SDK to communicate with the Worldline Global Collect platform server-to-server API

8.5.0(2mo ago)226.8k↓25%31MITPHPPHP &gt;=5.4CI failing

Since Mar 19Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/Worldline-Global-Collect/connect-sdk-php)[ Packagist](https://packagist.org/packages/worldline-global-collect/connect-sdk-php)[ Docs](https://worldline.com/)[ RSS](/packages/worldline-global-collect-connect-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (1)

Worldline Connect PHP SDK
=========================

[](#worldline-connect-php-sdk)

Introduction
------------

[](#introduction)

The Worldline Connect PHP SDK helps you to communicate with the [Worldline Connect](https://docs.connect.worldline-solutions.com/) Server API. Its primary features are:

- convenient PHP wrapper around the API calls and responses:
    - marshalls PHP request objects to HTTP requests
    - unmarshalls HTTP responses to PHP response objects or PHP exceptions
- handling of all the details concerning authentication
- handling of required metadata

Its use is demonstrated by an example for most calls. The examples execute a call using the provided API keys.

See the [Worldline Connect Developer Hub](https://docs.connect.worldline-solutions.com/documentation/sdk/server/php/) for more information on how to use the SDK.

Structure of this repository
----------------------------

[](#structure-of-this-repository)

This repository consists out of the following components:

1. The source code of the SDK itself: `/src` and `/lib`
2. The source code of the unit and integration tests (including the examples): `/tests`

Requirements
------------

[](#requirements)

PHP 5.4 or above is required. In addition, to support streaming uploads, package [robtimus/multipart](https://packagist.org/packages/robtimus/multipart) is required.

Installation via Composer
-------------------------

[](#installation-via-composer)

1. Initialize [Composer](https://getcomposer.org/download/) in your project, if this is not already done, by executing the following command:

    ```
    composer init

    ```
2. Add a requirement to the SDK to your `composer.json` file by executing the following command:

    ```
    composer require worldline-global-collect/connect-sdk-php

    ```
3. Add `vendor/autoload.php` to your project, if this is not already done, by adding the following line of code:

    ```
    require __DIR__ . '/vendor/autoload.php';

    ```

Manual installation
-------------------

[](#manual-installation)

1. Download the latest version of the PHP SDK from GitHub. Choose the `connect-sdk-php-x.y.z.tar.gz` file from the [releases](https://github.com/Worldline-Global-Collect/connect-sdk-php/releases) page, where `x.y.z` is the version number.
2. Add the contents of the `tar.gz` file to your project. The content of the `/src` and `/lib` folders may be combined, if this is required by the project.
3. Add all classes from the `/src` and `/lib` folders to your autoloader; all classes inside these folders are compliant with [PSR-4](http://www.php-fig.org/psr/psr-4/).

Development and testing
-----------------------

[](#development-and-testing)

1. Install [Composer](https://getcomposer.org/download/)
2. From the root of the sdk-php project, run `composer install`
3. Copy `tests/config.json.dist` to `tests/config.json` and replace the template values by actual values
4. From the root of the sdk-php project, `vendor/phpunit/phpunit/phpunit` (or just `phpunit` when it is already installed on your local machine)

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance89

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Recently: every ~10 days

Total

17

Last Release

62d ago

Major Versions

7.6.0 → 8.0.02025-11-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e043da9b204adc71d6e23ea386d115a7d7a409a619c3f596d87f6699adfa3f9?d=identicon)[WorldLineSolutionsIO](/maintainers/WorldLineSolutionsIO)

---

Tags

php-sdkworldlineworldline-connectsdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/worldline-global-collect-connect-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/worldline-global-collect-connect-sdk-php/health.svg)](https://phpackages.com/packages/worldline-global-collect-connect-sdk-php)
```

###  Alternatives

[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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