payu / alu-client
Automatic Live Update Client
Installs: 203 078
Dependents: 1
Suggesters: 0
Security: 0
Stars: 25
Watchers: 20
Forks: 22
Open Issues: 3
Requires
- php: >=5.6
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: ~4.8
This package is auto-updated.
Last update: 2024-11-04 21:25:49 UTC
README
Documentation in Russian.
Prerequisites
- PHP 5.6 and above
- curl extension with support for OpenSSL
- PHPUnit 4.8.0 for running test suite (Optional)
- Composer (Optional)
Composer
You can install the library via Composer. Add this to your composer.json:
{
"require": {
"payu/alu-client": "1.*"
}
}
Then install via:
composer install
To use the library, include Composer's autoload:
require_once('vendor/autoload.php');
Manual Installation
Obtain the latest version of the PayU Automatic Live Update Client Library with:
git clone https://github.com/PayU/alu-client-php.git
To use the Library, add the following to your PHP script:
require_once("/path/to/payu/alu-client/src/init.php");
Getting Started
You can find usage examples in the examples directory:
- basicExample.php - Minimal requirements for order authorization via ALU protocol using Credit Card Information (If you are PCI DSS compliant)
- tokenPayment.php - Minimal requirements for order authorization via ALU protocol using Token
- threeDSReturn.php - Example of return from 3D Secure authorization and response