Download the PHP package payu-mea/payu-mea-sdk-php without Composer

On this page you can find all versions of the php package payu-mea/payu-mea-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package payu-mea-sdk-php

PayU MEA PHP SDK

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

Please Note

The Payment Card Industry (PCI) Council has mandated 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 https://payu.co.za.

Requirements

v1.* PHP 5.4 - PHP 7.4

v2.* PHP8 and above

Composer

You can install the bindings via Composer. Run the following command:

To use the bindings, use Composer's autoload:

Dependencies

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

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

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

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.

Development

Install dependencies:

Tests

Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:

Or to run an individual test file:


All versions of payu-mea-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-soap Version *
ext-json Version *
ext-xml Version *
psr/log Version ^2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package payu-mea/payu-mea-sdk-php contains the following files

Loading the files please wait ....