PHP code example of ipking / manomano-php

1. Go to this page and download the library: Download ipking/manomano-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ipking / manomano-php example snippets




use ManoMano\Core\Client;



Client::setLogin(MANO_LOGIN);
Client::setPassword(MANO_PASSWORD);

$method = new \ManoMano\Order\OrderList();
$rsp = Client::getOrderList($method);
var_dump($rsp);

├── src // API 接口
│   ├── Model // API接口需要使用到的一些数据结构
│   ├── Core //API接口的关键逻辑
│   ├── Error //异常错误类
│   └── Order // 订单类方法
└── demo // API接口的测试用例
    ├── .config.php //测试用例的配置信息
    └── get_last_orders.php 等等// 具体的api测试用例