PHPackages                             paygateglobal/paygate-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. [Payment Processing](/categories/payments)
4. /
5. paygateglobal/paygate-php

ActiveLibrary[Payment Processing](/categories/payments)

paygateglobal/paygate-php
=========================

Sdk php pour PaygateGlobal

1.0.5(2y ago)036MITPHP

Since Oct 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Edouardsnipeur/paygate-php)[ Packagist](https://packagist.org/packages/paygateglobal/paygate-php)[ RSS](/packages/paygateglobal-paygate-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

PAYGATE PAYGATEGLOBAL PHP-SDK
=============================

[](#paygate-paygateglobal-php-sdk)

Raw Files
---------

[](#raw-files)

```
    git clone https://github.com/Edouardsnipeur/paygate-php.git
```

Installing
----------

[](#installing)

Using composer:

```
    composer require paygateglobal/paygate-php
```

Initialization
--------------

[](#initialization)

#### Production

[](#production)

```
    $paygate = new \Paygate\Paygate($auth_token);
```

Request to schedule payout
--------------------------

[](#request-to-schedule-payout)

#### EXAMPLE API Method

[](#example-api-method)

```

    // Example to schedule payout API Method
    $response = $paygate->payNow(
        phone_number : "99000000",
        amount : 1000,
        identifier : "993",
        network : \Paygate\Network::FLOOZ,
        description : "My description", //Optionnal
    );

```

#### EXAMPLE redirect Method

[](#example-redirect-method)

```
    // Example to schedule payout redirect Method
    $paygate->redirectPayNow(
        phone_number : "99000000", //Optionnal
        amount : 1000,
        identifier : "993",
        url : "http://exemple.com", //Optionnal
        description : "My description", //Optionnal
    );

```

PARAMETERSDESCRIPTIONphone\_numberNuméro de téléphone mobile du ClientamountMontant de la transaction sans la devise (Devise par défaut: FCFA)identifierIdentifiant interne de la transaction de l’e-commerce. Cet identifiant doit etre unique.networkvaleurs possibles: `\Paygate\Network::FLOOZ`, `\Paygate\Network::TMONEY`urlLien de la page vers laquelle le client sera redirigé après le paiement#### TRANSACTION $response Object

[](#transaction-response-object)

NomDESCRIPTIONtx\_referenceIdentifiant Unique générée par PayGateGlobal pour la transactionstatusCode d’état de la transaction.TRANSACTION POSSIBLE STATUS LIST
--------------------------------

[](#transaction-possible-status-list)

STATUSDESCRIPTIONSUCCESSTransaction enregistrée avec succèsINVALID\_TOKENJeton d’authentification invalideINVALID\_PARAMSParamètres InvalidesDOUBLONSThis transaction are already reverted or are not eligibleINTERNAL\_ERRORDoublons détectées. Une transaction avec le même identifiant existe déja.#### TRANSACTION VERIFICATION EXAMPLE

[](#transaction-verification-example)

```
switch ($response->status) {
    case \Paygate\TransactionStatus::SUCCESS
        //...
        break;
    case \Paygate\TransactionStatus::INVALID_TOKEN:
        //...
        break;
    case \Paygate\TransactionStatus::INVALID_PARAMS:
        //...
        break;
    case \Paygate\TransactionStatus::DOUBLONS:
        //...
        break;
    case \Paygate\TransactionStatus::INTERNAL_ERROR:
        //...
        break;
}

```

Request to retrieve transactions
--------------------------------

[](#request-to-retrieve-transactions)

#### EXAMPLE

[](#example)

```
    // Verification with Paygate reference code
    $reponse = $paygate->verifyTransactionWithPaygateReference($tx_reference);

    // Verification with Ecommerce identifier
    $reponse = $paygate->verifyTransactionWithEcommerceId($identifier);
```

PARAMETERSDESCRIPTIONtx\_referenceIdentifiant Unique générée par PayGateGlobal pour la transactionidentifierIdentifiant Unique précédemment généré par l'Ecommerçant pour la transaction#### TRANSACTION $response Object

[](#transaction-response-object-1)

NomDESCRIPTIONtx\_referenceIdentifiant Unique généré par PayGateGlobal pour la transactionidentifierIdentifiant interne de la transaction de l’e-commerce. ex: Numero de commande Cet identifiant doit etre unique.payment\_referenceCode de référence de paiement généré par Flooz/TMoney. Ce code peut être utilisé en cas de résolution de problèmes ou de plaintes.statusCode d’état du paiement.datetimeDate et Heure du paiementpayment\_methodMéthode de paiement utilisée par le client. Valeurs possibles: FLOOZ, T-MoneyPAYMENT POSSIBLE STATUS LIST
----------------------------

[](#payment-possible-status-list)

STATUSDESCRIPTIONSUCCESSPaiement réussi avec succèsPENDINGEn coursEXPIREDExpiréCANCELEDAnnulé#### TRANSACTION VERIFICATION EXAMPLE

[](#transaction-verification-example-1)

```
switch ($response->status) {
    case \Paygate\PaiementStatus::SUCCESS
        //...
        break;
    case \Paygate\PaiementStatus::PENDING:
        //...
        break;
    case \Paygate\PaiementStatus::EXPIRED:
        //...
        break;
    case \Paygate\PaiementStatus::CANCELED:
        //...
        break;
}
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

6

Last Release

988d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42722304?v=4)[Edouard Zinnoussou](/maintainers/Edouardsnipeur)[@Edouardsnipeur](https://github.com/Edouardsnipeur)

---

Top Contributors

[![Edouardsnipeur](https://avatars.githubusercontent.com/u/42722304?v=4)](https://github.com/Edouardsnipeur "Edouardsnipeur (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paygateglobal-paygate-php/health.svg)

```
[![Health](https://phpackages.com/badges/paygateglobal-paygate-php/health.svg)](https://phpackages.com/packages/paygateglobal-paygate-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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