PHPackages                             wenguii/laravel-wenguii - 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. wenguii/laravel-wenguii

ActiveLibrary[API Development](/categories/api)

wenguii/laravel-wenguii
=======================

Laravel package for WenGuii API integration

v1.0.0(1y ago)01MITPHPPHP ^8.0

Since Jan 7Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

[![Logo](images/logo.png)](images/logo.png)

Laravel WenGuii
---------------

[](#laravel-wenguii)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d642a5f6033a486ce428206ab5aac7ac826c10750543650b531fa554611351f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6576696e67617373616d2f6c61726176656c2d77656e677569692e737667)](https://packagist.org/packages/kevingassam/laravel-wenguii)[![License](https://camo.githubusercontent.com/116e806163d5eb605a3952be46f61b12f9c6c2e7e39fc543a7ad6c2b2e34fcef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b6576696e67617373616d2f6c61726176656c2d77656e677569692e737667)](https://github.com/kevingassam/laravel-wenguii/blob/main/LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/c1bcf916b3c207ef50c591c64a1ae35a65e4314863572d91fa29e9152c71a250/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6576696e67617373616d2f6c61726176656c2d77656e677569692e737667)](https://packagist.org/packages/kevingassam/laravel-wenguii)[![GitHub issues](https://camo.githubusercontent.com/d7d00dfd8be80932f16343515d887b1be5e901e1355433613046557423602372/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b6576696e67617373616d2f6c61726176656c2d77656e677569692e737667)](https://github.com/kevingassam/laravel-wenguii/issues)[![GitHub stars](https://camo.githubusercontent.com/1f2721bf854c6adaad427538acc424e03d7265730f9817dda2cb93cdb9443f72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6b6576696e67617373616d2f6c61726176656c2d77656e677569692e7376673f7374796c653d736f6369616c)](https://github.com/kevingassam/laravel-wenguii/stargazers)

Une bibliothèque Laravel pour intégrer facilement l'API de paiement WenGuii dans vos applications.

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

[](#installation)

```
composer require wenguii/laravel-wenguii:1.0.0
```

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

[](#configuration)

Publiez le fichier de configuration :

```
php artisan vendor:publish --provider="Wenguii\WenguiiServiceProvider" --tag="config"
```

Ajoutez vos credentials dans votre fichier `.env` :

```
WENGUII_BASE_URL=https://wenguii.net/
WENGUII_CDPRT=votre-code-partenaire
WENGUII_USR=votre-utilisateur
WENGUII_PWD=votre-mot-de-passe
```

Utilisation
-----------

[](#utilisation)

### Effectuer un paiement

[](#effectuer-un-paiement)

```
use Wenguii\WenguiiClient;

public function payment(WenguiiClient $wenguii)
{
    try {
        $result = $wenguii->payment(
            expediteurPhone: '1234567890',
            montant: 1000.00
        );
        return $result;
    } catch (WenguiiException $e) {
        // Gérer l'erreur
    }
}
```

### Effectuer un retrait

[](#effectuer-un-retrait)

```
$result = $wenguii->withdrawal(
    beneficiairePhone: '1234567890',
    montant: 1000.00
);
```

### Vérifier l'état d'une transaction

[](#vérifier-létat-dune-transaction)

```
$status = $wenguii->checkStatus('transaction-id');
```

### Consulter le solde

[](#consulter-le-solde)

```
$balance = $wenguii->getBalance();
```

Gestion des erreurs
-------------------

[](#gestion-des-erreurs)

La bibliothèque lance une `WenguiiException` en cas d'erreur. Vous pouvez capturer cette exception pour gérer les erreurs de manière appropriée.

Contribution
------------

[](#contribution)

Les contributions sont les bienvenues ! N'hésitez pas à soumettre une Pull Request.

Licence
-------

[](#licence)

The MIT License (MIT). Voir [License File](LICENSE.md) pour plus de détails.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance41

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

491d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e8fb27e727b6498ed4c2ba726b4ad7f564cd6128c6877c5b3bd59504dc02c42?d=identicon)[kevingassam](/maintainers/kevingassam)

---

Top Contributors

[![kevingassam](https://avatars.githubusercontent.com/u/48618359?v=4)](https://github.com/kevingassam "kevingassam (12 commits)")

### Embed Badge

![Health badge](/badges/wenguii-laravel-wenguii/health.svg)

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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