PHPackages                             zenopay/zenopay-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. zenopay/zenopay-php

ActiveLibrary[Payment Processing](/categories/payments)

zenopay/zenopay-php
===================

A PHP package for ZenoPay payment processing.

v1.0.0(1y ago)91.5k↑148.5%3[1 PRs](https://github.com/ZenoPay/zenopay-php/pulls)MITPHP

Since Jul 24Pushed 8mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Here's a polished and structured `README.md` for your **ZenoPay PHP Integration** GitHub project:

```
# ZenoPay PHP Integration

> A simple PHP client for ZenoPay Mobile Money Tanzania API
> Create payment orders, check status, and handle webhooks with ease.

---

## Table of Contents

- [Features](#features)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
  - [1. Create Order](#1-create-order)
  - [2. Check Order Status](#2-check-order-status)
  - [3. Handle Webhook Notifications](#3-handle-webhook-notifications)
- [Error Logging](#error-logging)
- [Support](#support)

---

## Features

✅ Create Mobile Money payment orders in Tanzania
✅ Check transaction/order status
✅ Handle webhook callbacks for status updates
✅ Log errors and webhook payloads

---

## Prerequisites

- PHP 7.0+
- cURL extension enabled
- Write permissions in project directory (for log files)

---

## Installation

```bash
git clone https://github.com/your-username/zenopay-php-client.git
cd zenopay-php-client
```

---

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

[](#configuration)

Create a file named `config.php` in the root directory:

```
