Download the PHP package yumufeng/pdd-union-sdk without Composer

On this page you can find all versions of the php package yumufeng/pdd-union-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pdd-union-sdk

多多客SDK

拼多多联盟SDK,多多客工具箱

PHP =>7.1

composer require yumufeng/pdd-union-sdk

如果是在swoole 扩展下使用,支持协程并发,需要在编译swoole扩展的时候开启,系统会自动判断是否采用swoole

使用示例

说明文档

接口名称 对应方法
pdd.ddk.mall.goods.list.get (查询店铺商品) \$client->goods->mall()
pdd.ddk.goods.detail (多多进宝商品详情查询) \$client->goods->detail()
pdd.goods.cats.get (商品标准类目接口) \$client->goods->category()
pdd.ddk.goods.search (多多进宝商品查询搜索) \$client->goods->search()
pdd.ddk.goods.direct (查询定向推广商品) \$client->goods->direct()
pdd.ddk.goods.top (获取热销商品列表) \$client->goods->top()
pdd.ddk.goods.promotion.url.generate (多多进宝推广链接生成) \$client->link->createCpsUrl()
pdd.ddk.rp.prom.url.generate (生成红包推广链接) \$client->link->createRedbaoUrl()
pdd.ddk.theme.prom.url.generate (多多进宝主题推广链接生成) \$client->link->createThemeUrl()
pdd.ddk.goods.zs.unit.url.gen (将其他推广者的推广链接转换成自己的) \$client->link->covertOtherToMyPidUrl()
pdd.ddk.goods.pid.query (查询已经生成的推广位信息) \$client->promotion->queryPid()
pdd.ddk.goods.pid.generate (创建多多进宝推广位) \$client->promotion->createPid()
pdd.ddk.order.list.increment.get (查询推广订单) \$client->promotion->queryOrder()
pdd.ddk.order.detail.get (查询订单详情) \$client->promotion->queryOrderDetail()
pdd.ddk.theme.list.get (多多进宝主题列表查询) \$client->theme->lists()
pdd.ddk.theme.goods.search (多多进宝主题商品查询) \$client->theme->getListsDetail()

License

MIT


All versions of pdd-union-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
yumufeng/curl-swoole Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yumufeng/pdd-union-sdk contains the following files

Loading the files please wait ....