PHPackages                             appiersign/peoples-pay - 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. appiersign/peoples-pay

ActiveLibrary[Payment Processing](/categories/payments)

appiersign/peoples-pay
======================

People Pay Payment API

v1.0.0(3y ago)0885↓37.5%MITPHPPHP &gt;=7.3

Since Jun 10Pushed 3y ago1 watchersCompare

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

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

Peoples Pay API
===============

[](#peoples-pay-api)

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

[](#introduction)

Peoples Pay API allows seamless integration with various Mobile Money wallets in Ghana.

Getting Started
---------------

[](#getting-started)

To get start, require the package with composer.

`composer require appiersign/peoples-pay`

You will need a `$merchantId`, `$baseUrl`, and `$apiKey`.

Usage
-----

[](#usage)

Get perform any action, you will need an instance of the PeoplesPay class. See below for example:

`$peoplesPay = new PeoplesPay($baseUrl, $apiKey, $merchantId);`

Get Account Holder Name
-----------------------

[](#get-account-holder-name)

Fetching account holder's name is simple. All you have to do is to call the `getMobileMoneyAccountName()` see below for example:

`$response = $peoplesPay->getMobileMoneyAccountName($phoneNumber, $network);`

Sample response:

`['success' => true, 'code' => '00', 'message' => 'success', 'data' => 'Account Holder']`

Make Payment
------------

[](#make-payment)

To make payment or collect money from mobile money wallet

- create an instance of the PeoplesPay class

`$peoplesPay = new PeoplesPay($baseUrl, $apiKey, $merchantId);`

- call the `collectMobileMoney()` on the instance

`$response = $peoplesPay->collectMobileMoney($phoneNumber, $network', $amount, $transactionReference, $callbackUrl, $description));`

A sample response looks like this:

`['code' => '01', 'success' => true, 'message' => 'Transaction Received for Processing', 'transactionId' => 'xxxxxxxxxxxxxxx', 'date' => '2022-06-10T11:10:11.547Z']`

Checking Payment Status
-----------------------

[](#checking-payment-status)

To check the status of a transaction, you will need the `$transactionId` that was returned with the response above. You can then call the `checkStatus()` on the `$peoplesPay` instance like this:

`$response = $peoplesPay->checkStatus($transactionId);`

See sample response below:

`['success' => true, 'code' => '00', 'message' => 'Transaction Successful', 'status' => 'paid', 'transactionId' => $transactionId, 'issuerId' => 'xxxxxxxxxx]`

Disbursement
------------

[](#disbursement)

Coming soon!!!

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

1429d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93f196f9a6f90c9ebed3f4dd30f6e8779309753a78d278ccaf2ec9375e95df5e?d=identicon)[appiersign](/maintainers/appiersign)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/appiersign-peoples-pay/health.svg)

```
[![Health](https://phpackages.com/badges/appiersign-peoples-pay/health.svg)](https://phpackages.com/packages/appiersign-peoples-pay)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/braintree

Braintree gateway for Omnipay payment processing library

35558.0k3](/packages/omnipay-braintree)

PHPackages © 2026

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