2017 © Pedro Peláez
 

library php-client

PHP client for the payutc servers

image

payutc/php-client

PHP client for the payutc servers

  • Wednesday, March 11, 2015
  • by apuyou
  • Repository
  • 3 Watchers
  • 0 Stars
  • 301 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

php-client

A PHP client for the payutc server., (*1)

Install

If you are not using the Composer dependency manager in your project, download it :, (*2)

$ curl -sS https://getcomposer.org/installer | php

Then, create (or edit) the composer.json file :, (*3)

{
    "require": {
        "payutc/php-client": "*"
    }
}

Now, run Composer to download the dependency :, (*4)

$ php composer.phar install

Usage

Here is an example of using the AutoJsonClient, which allows you to call any method dynamically., (*5)

<?php

require_once "vendor/autoload.php";

use \Payutc\Client\AutoJsonClient;
use \Payutc\Client\JsonException;

$c = new AutoJsonClient("http://localhost/payutc/server/", "MYACCOUNT");

$result = $c->getCasUrl();
var_dump($result);

try {
    $result = $c->loginCas(array(
        "ticket" => "CAS-TICKET-42",
        "service" => "http://localhost/payutc/casper/"
    ));
    var_dump($result);
}
catch (JsonException $e) {
    echo $e.PHP_EOL;
}

The Versions

11/03 2015

dev-master

9999999-dev https://github.com/payutc/php-client

PHP client for the payutc servers

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

utc simde payutc

11/03 2015

dev-mguffroy/removeTerena

dev-mguffroy/removeTerena https://github.com/payutc/php-client

PHP client for the payutc servers

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

utc simde payutc

25/02 2015

dev-trecouvr/improve

dev-trecouvr/improve https://github.com/payutc/php-client

PHP client for the payutc servers

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

utc simde payutc

06/09 2014

dev-trecouvr/fix_cookie

dev-trecouvr/fix_cookie https://github.com/payutc/php-client

PHP client for the payutc servers

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

utc simde payutc