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

ActiveLibrary

alegra/omnipay-payu
===================

Payu gateway for Omnipay payment processing library

v0.0.27(5y ago)02281MITPHP

Since Apr 2Pushed 5y ago5 watchersCompare

[ Source](https://github.com/alegraio/omnipay-payu)[ Packagist](https://packagist.org/packages/alegra/omnipay-payu)[ Docs](https://git.alegradigital.com/microservices/payment-payu)[ RSS](/packages/alegra-omnipay-payu/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (31)Used By (0)

omnipay-payu
============

[](#omnipay-payu)

[![Build Status](https://github.com/alegraio/omnipay-payu/workflows/tests/badge.svg)](https://github.com/alegraio/omnipay-payu/actions)[![Total Downloads](https://camo.githubusercontent.com/514fa036c462868563462f82410f4773c8643a09576e9b4486bdd22479a8593c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c656772612f6f6d6e697061792d70617975)](https://packagist.org/packages/alegra/omnipay-payu)[![Latest Stable Version](https://camo.githubusercontent.com/fe64ea0669dca6f9c1f233c4d7d74e5d4000c7256812d2edf61a9b2b222a529e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c656772612f6f6d6e697061792d70617975)](https://packagist.org/packages/alegra/omnipay-payu)[![License](https://camo.githubusercontent.com/1ae7c5bd8079ab21947ed80f89761467239abba3f460e13b6ae62c3e6136d902/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616c656772612f6f6d6e697061792d70617975)](https://packagist.org/packages/alegra/omnipay-payu)

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

PayU ALU V3 API [documentation](https://payuturkiye.github.io/PayU-Turkiye-Entegrasyon-Dokumani/#alu-v3-api-entegrasyonu)

Requirement
-----------

[](#requirement)

- PHP &gt;= 7.3.x,
- [Omnipay V.3](https://github.com/thephpleague/omnipay) repository,
- PHPUnit to run tests

Autoload
--------

[](#autoload)

You have to install omnipay V.3

```
composer require league/omnipay:^3
```

Then you have to install omnipay-payu package:

```
composer require alegra/omnipay-payu
```

> `payment-payu` follows the PSR-4 convention names for its classes, which means you can easily integrate `payment-payu` classes loading in your own autoloader.

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

[](#basic-usage)

- You can use /examples folder to execute examples. This folder is exists here only to show you examples, it is not for production usage.
- First in /examples folder:

```
composer install
```

**Purchase Example**

- You can check purchase.php file in /examples folder.

```
