PHPackages                             devsdmf/payu-php-sdk - 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. devsdmf/payu-php-sdk

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

devsdmf/payu-php-sdk
====================

Payu payment gateway SDK for PHP projects

1.0.2(8y ago)213.4k↓33.3%2MITPHP

Since Feb 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/devsdmf/payu-php-sdk)[ Packagist](https://packagist.org/packages/devsdmf/payu-php-sdk)[ RSS](/packages/devsdmf-payu-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

PayU SDK for PHP
================

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

This is a SDK for PHP projects that provides a friendly and easy interface to integrate your application with the PayU payment gateway API.

This library provides a wrapper for the available API objects and a client to perform the requests.

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

[](#installation)

```
$ composer require devsdmf/payu-php-sdk

```

Usage
-----

[](#usage)

The basic usage of the library is:

```
// importing the libraries
use PayU\PayU,
    PayU\Merchant\Credentials,
    PayU\Transaction\Transaction;

// creating a credentials instance
$credentials = Credentials::factory('myKey','myLogin');

// creating a new PayU client instance
$payU = PayU::factory(PayU::LANGUAGE_ENGLISH);

// configuring the client
$payU->setCredentials($credentials);
$payU->setMerchantId('myMerchantId');
$payU->setNotifyUrl('http://foo.bar/notifications/payu');

$transaction = new Transaction();
// ... configuring the transaction object

// performing the transaction
$response = $payU->doPayment($transaction);

// check if the payment was approved
$response->isApproved();

// getting order status
$response = $payU->getOrderById('orderId');

// getting the response payload
$data = $response->getPayload();
```

API and Developers Documentation
--------------------------------

[](#api-and-developers-documentation)

Soon

Tests
-----

[](#tests)

```
$ composer install --dev
$ ./vendor/bin/phpunit

```

License
-------

[](#license)

This library is licensed under the [MIT License](LICENSE).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% 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 ~49 days

Total

3

Last Release

3275d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1649565?v=4)[Lucas Mendes](/maintainers/devsdmf)[@devsdmf](https://github.com/devsdmf)

---

Top Contributors

[![devsdmf](https://avatars.githubusercontent.com/u/1649565?v=4)](https://github.com/devsdmf "devsdmf (58 commits)")[![lucascolette](https://avatars.githubusercontent.com/u/829381?v=4)](https://github.com/lucascolette "lucascolette (1 commits)")

---

Tags

sdkpaymentgatewaypayu

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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