2017 © Pedro Peláez
 

library tunai

Tunai client SDK

image

sandiloka/tunai

Tunai client SDK

  • Saturday, October 31, 2015
  • by diorahman
  • Repository
  • 2 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Tunai.id lib for PHP

This is a Tunai.id lib for PHP., (*1)

Install

This lib can be installed using Composer. Add the following definition to your composer.json:, (*2)

{
    "require": {
        "sandiloka/tunai": "*"
    }
}

Interact with Invoice object


use Sandiloka\Tunai\Invoice; $invoice = new Invoice('key', `secret`); $invoiceData = array ( 'refId' => '1234567', 'expired' => time() . '000', // to match JS new Date().valueOf() 'customer' => array ( "name": "Joni Iskandar", "phone": "08122039966", "address": "Jalan Senandung Raya No. 1" ), 'items' => array( array( "id": "123456", "description": "Sepatu Warna Merah Jambu", "qty": 1, "price": 100000 ) ) ); $res = $invoice.create($invoiceData); $statusCode = $res.getStatusCode(); $json = $res.getBody();

License

MIT, (*3)

The Versions

31/10 2015

dev-master

9999999-dev

Tunai client SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhi Aurrahman

31/10 2015

v0.0.3

0.0.3.0

Tunai client SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhi Aurrahman

09/10 2015

v0.0.2

0.0.2.0

Tunai client SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhi Aurrahman

08/10 2015

v0.0.1

0.0.1.0

Tunai client SDK

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dhi Aurrahman