tourcms-cn/tworiver

Two River Ticket System Api

2.0.10 2023-12-23 15:26 UTC

This package is auto-updated.

Last update: 2024-09-23 17:02:14 UTC


README

Two River Ticket System Api

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist tourcms-cn/tworiver "*"

or add

"tourcms-cn/tworiver": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

$twoRiver = new TwoRiverTicket(
    'apiUrl',
    'mch_id',
    'key'
);
$data = $twoRiver->line()
print_r($data);