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

ActiveLibrary[Payment Processing](/categories/payments)

payu-mea/payu-mea-sdk-php
=========================

PayU MEA Secure Payments PHP SDK

2.0.6(1mo ago)013.5k24MITPHPPHP ^8.0CI passing

Since Apr 18Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/PayUMEA/payu-mea-sdk-php)[ Packagist](https://packagist.org/packages/payu-mea/payu-mea-sdk-php)[ Docs](https://southafrica.payu.com/)[ RSS](/packages/payu-mea-payu-mea-sdk-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (8)Versions (17)Used By (4)

PayU MEA PHP SDK
================

[](#payu-mea-php-sdk)

[![Total Downloads](https://camo.githubusercontent.com/2540b0527eeebbac86bcc305d1812abc8a7d1c77c4c7aacc2903abda29e1699e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706179752d6d65612f706179752d6d65612d73646b2d706870)](https://packagist.org/packages/payu-mea/payu-mea-sdk-php)[![GitHub Issues](https://camo.githubusercontent.com/06821374ba100009d1a9f6699301845b4745204a6f4a7204640a2cd1e110322c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f506179554d45412f706179752d6d65612d73646b2d706870)](https://github.com/PayUMEA/payu-mea-sdk-php/issues)[![GitHub Last Commit](https://camo.githubusercontent.com/e811e049c34a43250db290e74ed5285d2712307c2d9954b863fe91f85aff3f49/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f506179554d45412f706179752d6d65612d73646b2d706870)](https://github.com/PayUMEA/payu-mea-sdk-php/commits)

**Welcome to PayU PHP SDK**. This repository contains PayU's PHP SDK and samples for both Enterprise and Redirect SOAP API.

Please Note
-----------

[](#please-note)

> **The Payment Card Industry (PCI) Council has [mandated](http://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls) that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayU has updated its services to require TLS 1.2 for all HTTPS connections. At this time, PayU will also require HTTP/1.1 for all connections.**

You can sign up for a PayU account at .

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

[](#requirements)

v1.\* PHP 5.4 - PHP 7.4

v2.\* PHP8 and above

Composer
--------

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require payumea/payu-sdk-php
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

Dependencies
------------

[](#dependencies)

The bindings require the following extension in order to work properly:

- [`soap`](https://php.net/manual/en/book.soap.php)
- [`xml`](http://php.net/manual/en/book.xml.php)
- [`json`](https://php.net/manual/en/book.json.php)
- [`mbstring`](http://php.net/manual/en/book.mbstring.php)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Documentation
-------------

[](#documentation)

Please see the `sample/doc` directory for information on how to use this library and the `samples` directory for examples on using this library. You should be able to run all the examples by running `php samples/index.php`.

SDK Documentation
-----------------

[](#sdk-documentation)

Everything from SDK Wiki, to Sample Codes, to Releases. Here are few quick links to get you there faster.

Please see for up-to-date documentation.

- [ Samples ](samples)
- \[ PayU Developer Docs\] ()

Development
-----------

[](#development)

Install dependencies:

```
composer install
```

Tests
-----

[](#tests)

Install dependencies as mentioned above (which will resolve [PHPUnit](http://packagist.org/packages/phpunit/phpunit)), then you can run the test suite:

```
./vendor/bin/phpunit
```

Or to run an individual test file:

```
./vendor/bin/phpunit tests/PayU/Test/Api/AmounTest.php
```

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance91

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 72.9% 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 ~474 days

Recently: every ~75 days

Total

8

Last Release

44d ago

Major Versions

1.0.0 → 2.0.02024-07-08

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8b7179f99e1aff07dea99823ef3e613e9baac823876941e53764d277f44bb8b?d=identicon)[PayU ZA](/maintainers/PayU%20ZA)

---

Top Contributors

[![netcraft-devops](https://avatars.githubusercontent.com/u/22585797?v=4)](https://github.com/netcraft-devops "netcraft-devops (62 commits)")[![onahkenneth](https://avatars.githubusercontent.com/u/4136156?v=4)](https://github.com/onahkenneth "onahkenneth (15 commits)")[![ryangodfreyza](https://avatars.githubusercontent.com/u/19775582?v=4)](https://github.com/ryangodfreyza "ryangodfreyza (3 commits)")[![SiphoGitC](https://avatars.githubusercontent.com/u/75019708?v=4)](https://github.com/SiphoGitC "SiphoGitC (3 commits)")[![jakublukanowski](https://avatars.githubusercontent.com/u/51436301?v=4)](https://github.com/jakublukanowski "jakublukanowski (1 commits)")[![PayU-ITSupportAfrica](https://avatars.githubusercontent.com/u/62420851?v=4)](https://github.com/PayU-ITSupportAfrica "PayU-ITSupportAfrica (1 commits)")

---

Tags

payupayu secure paymentspayu meapayu payment processingpayu mea php sdk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/payu-mea-payu-mea-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/payu-mea-payu-mea-sdk-php/health.svg)](https://phpackages.com/packages/payu-mea-payu-mea-sdk-php)
```

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[recurly/recurly-client

The PHP client library for the Recurly API

1736.6M9](/packages/recurly-recurly-client)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M219](/packages/api-platform-metadata)

PHPackages © 2026

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