1. Go to this page and download the library: Download wxm/pdd-sdk 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/ */
wxm / pdd-sdk example snippets
$pdd = new \Pdd\Application('client_id', 'client_secret');
// 例如 pdd.ddk.goods.search 其他接口同理
$pdd->ddk->goods->search();