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

ActiveLibrary[Payment Processing](/categories/payments)

jlorente/payu-php-sdk
=====================

A PHP package to access the PayU API by a comprehensive way.

1.0.2(4y ago)05.5k↓100%11BSD-3-ClausePHPPHP &gt;=5.2.1

Since Sep 22Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (4)Used By (1)

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

[](#payu-php-sdk)

A PHP package to access the [PayU API](http://developers.payulatam.com/es/api/payments.html) by a comprehensive way.

This is an enhanced version of the original PayU PHP SDK developed by PayU that adds installation through composer, class namespacing and class autoloading instead of the old package full SDK require on initialization.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

With Composer installed, you can then install the extension using the following commands:

```
$ php composer.phar require jlorente/payu-php-sdk
```

or add

```
...
    "require": {
        "jlorente/payu-php-sdk": "*"
    }
```

to the `require` section of your `composer.json` file.

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

[](#configuration)

You have to set the configuration on runtime by using the static variables of the PayU class.

```
PayU::$apiKey = "xxxxxxxxxxxx";
PayU::$apiLogin = "xxxxxxxxxxxx";
PayU::$merchantId = "1";
PayU::$language = SupportedLanguages::ES;
PayU::$isTest = false;
```

License
-------

[](#license)

Copyright © 2020 José Lorente Martín .

Licensed under the BSD 3-Clause License. See LICENSE.txt for details.

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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

Every ~138 days

Total

3

Last Release

1731d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5b6d568331349beaf1945db65a076cf60e6c124d504fcb43a21937f0c85bde3?d=identicon)[jlorente](/maintainers/jlorente)

---

Top Contributors

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

---

Tags

phppayujlorente

### Embed Badge

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

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

###  Alternatives

[cartalyst/stripe-laravel

Laravel 11 integration for the Cartalyst Stripe package.

3462.6M9](/packages/cartalyst-stripe-laravel)[yandex-money/yandex-money-sdk-php

Yandex.Money API SDK for PHP

105166.8k2](/packages/yandex-money-yandex-money-sdk-php)[cryptonator/merchant-php-sdk

Cryptonator.com Merchant API SDK for PHP

2713.7k](/packages/cryptonator-merchant-php-sdk)

PHPackages © 2026

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