PHPackages                             keops007/omnipay-payu-romania - 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. keops007/omnipay-payu-romania

ActiveLibrary[Payment Processing](/categories/payments)

keops007/omnipay-payu-romania
=============================

PayU Romnania driver for the Omnipay payment processing library

v2.0.0(4y ago)0236MITPHP

Since Mar 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/keops007/omnipay-payu-romania)[ Packagist](https://packagist.org/packages/keops007/omnipay-payu-romania)[ Docs](https://github.com/keops007/omnipay-payu-romania)[ RSS](/packages/keops007-omnipay-payu-romania/feed)WikiDiscussions master Synced yesterday

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

Omnipay: PayU
=============

[](#omnipay-payu)

**PayU Romania driver for the Omnipay payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/9853c193d2c7a0b14bd4837164791f7acca3caddc0e8f04d19e78407bfccdde2/68747470733a2f2f706f7365722e707567782e6f72672f6b656f70733030372f6f6d6e697061792d706179752d726f6d616e69612f76657273696f6e)](https://packagist.org/packages/keops007/omnipay-payu-romania)[![Total Downloads](https://camo.githubusercontent.com/8d2466deea22a94fb5a0357e3a9db7db2599eba38460097c9bb969a90fa28fc3/68747470733a2f2f706f7365722e707567782e6f72672f6b656f70733030372f6f6d6e697061792d706179752d726f6d616e69612f642f746f74616c2e706e67)](https://packagist.org/packages/keops007/omnipay-payu-romania)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.6+. This package implements PayU support for Omnipay.

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

[](#installation)

```
$ composer require keops007/omnipay-payu-romania

```

Basic Usage
-----------

[](#basic-usage)

1. Use Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

2. Initialize PayU gateway:

```
    $gateway = Omnipay::create('PayU');
    $gateway->setMerchantName(env('MERCHANT_NAME'));
    $gateway->setSecretKey(env('SECRET_KEY'));
```

3. Call purchase, it will automatically redirect to PayU hosted page

```
    $purchase = $gateway->purchase([
            'amount' => 100,
            'transactionId' => 1,
            'orderDate' => date('Y-m-d H:i:s'),
            'items' => [
                new \Omnipay\PayU\Item([
                    'name' => 'Item',
                    'code' => 'ItemCode',
                    'price' => '100',
                    'priceType' => 'NET',
                    'quantity' => 1,
                    'vat' => 0,
                ]),
            ]
        ])->send();

    $purchase->redirect();
```

4. Create a webhook controller to handle the callback request at your `RESULT_URL` and catch the webhook as follows

```
    $gateway = Omnipay::create('PayU');
    $gateway->setMerchantName(env('MERCHANT_NAME'));
    $gateway->setSecretKey(env('SECRET_KEY'));

    $purchase = $gateway->completePurchase()->send();

    if ($purchase->isSuccessful()) {
        // Your logic

        return $purchase->completeResponse();
    }
```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~228 days

Total

4

Last Release

1563d ago

Major Versions

v1.0.3 → v2.0.02022-01-31

### Community

Maintainers

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

---

Top Contributors

[![keops007](https://avatars.githubusercontent.com/u/56954895?v=4)](https://github.com/keops007 "keops007 (1 commits)")[![MihaiCtinescu](https://avatars.githubusercontent.com/u/124136876?v=4)](https://github.com/MihaiCtinescu "MihaiCtinescu (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchasepayupayu-russiapayu-romnania

### Embed Badge

![Health badge](/badges/keops007-omnipay-payu-romania/health.svg)

```
[![Health](https://phpackages.com/badges/keops007-omnipay-payu-romania/health.svg)](https://phpackages.com/packages/keops007-omnipay-payu-romania)
```

PHPackages © 2026

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