Download the PHP package iwechatpay/openapi without Composer

On this page you can find all versions of the php package iwechatpay/openapi. 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 openapi

微信支付OpenAPI

整理自官方文档中心

GitHub actions Packagist Stars Packagist Downloads Packagist Version Packagist PHP Version Support Packagist License

业务标签

名称 直连模式 服务商模式
基础支付 ✔️
基础支付∙服务商模式 ✔️
基础支付∙合单 ✔️
基础支付∙账单 ✔️ ✔️
基础支付∙退款 ✔️ ✔️
刷脸支付 ✔️
免密支付 ✔️ ✔️
资金应用∙分账 ✔️
资金应用∙转账 ✔️
资金应用∙转账∙用户确认模式 ✔️
资金应用∙转账∙服务商模式 ✔️
资金应用∙转账∙银行模式 ✔️
收付通∙进件 ✔️
收付通∙注销 ✔️
收付通∙支付 ✔️
收付通∙合单 ✔️
收付通∙合单代扣 ✔️
收付通∙补差 ✔️
收付通∙分账 ✔️
收付通∙退款 ✔️
收付通∙充值 ✔️
收付通∙余额 ✔️
收付通∙提现 ✔️
收付通∙赔付 ✔️
收付通∙账单 ✔️
收付通∙跨境 ✔️
服务商∙进件 ✔️
会员卡 ✔️ ✔️
会员卡∙基础功能 ✔️ ✔️
会员卡∙运营投放 ✔️ ✔️
会员卡∙权益设置 ✔️ ✔️
会员卡∙会员有礼 ✔️ ✔️
支付分 ✔️
支付分∙免确认模式 ✔️
支付分∙免确认模式∙普通授权 ✔️
支付分∙免确认模式∙预授权 ✔️
支付分∙签约计划 ✔️ ✔️
支付分∙先享卡 ✔️
支付分∙先用后付 ✔️ ✔️
支付分∙先享后付 ✔️
支付分∙智慧零售 ✔️
支付分∙停车服务 ✔️ ✔️
支付分∙服务商模式 ✔️
支付分∙服务商模式∙免确认 ✔️
支付分∙机构模式 ✔️
品牌小店营销 ✔️ ✔️
微信寄快递 ✔️
委托代扣 ✔️ ✔️
委托代扣∙保险业 ✔️
校园轻松付 ✔️
教育续费通 ✔️ ✔️
学生卡身份权益 ✔️
爱心餐 ✔️ ✔️
乘车服务 ✔️ ✔️
ETC授权扣费 ✔️ ✔️
电动自行车行业代扣 ✔️ ✔️
出租车电子发票 ✔️
租用充电宝∙隔夜归还 ✔️
运营工具∙代金券 ✔️ ✔️
运营工具∙消费金 ✔️
运营工具∙商家券 ✔️ ✔️
运营工具∙委托营销 ✔️ ✔️
运营工具∙支付有礼 ✔️ ✔️
运营工具∙消费卡 ✔️ ✔️
运营工具∙用工卡 ✔️
运营工具∙通用接口 ✔️ ✔️
经营工具∙智慧商圈 ✔️ ✔️
经营工具∙支付即服务 ✔️ ✔️
经营工具∙点金计划 ✔️
经营工具∙连锁品牌∙分账 ✔️ ✔️
经营工具∙连锁品牌∙门店 ✔️ ✔️
经营工具∙微信点餐 ✔️
经营工具∙电子发票 ✔️ ✔️
经营工具∙电子小票 ✔️
经营工具∙小票机 ✔️
营销工具∙收款有礼 ✔️ ✔️
营销工具∙代扣切卡 ✔️ ✔️
营销工具∙周周惠 ✔️
商家充值 ✔️ ✔️
结算规则管理 ✔️
风险管理 ✔️ ✔️
风险合规∙消费者投诉 ✔️ ✔️
风险合规∙商户违规通知 ✔️ ✔️
风险合规∙开户意愿确认 ✔️ ✔️
风险合规∙不活跃商户身份核实 ✔️
通用接口 ✔️ ✔️
跨境 ✔️ ✔️
跨境∙进件 ✔️
跨境∙报关 ✔️ ✔️
跨境∙支付 ✔️ ✔️
跨境∙退款 ✔️ ✔️
跨境∙分账 ✔️ ✔️
跨境∙代扣 ✔️ ✔️
跨境∙H5权限 ✔️
沙箱环境 ✔️ ✔️
APIv2∙人脸支付 ✔️
APIv2∙基础支付 ✔️ ✔️
APIv2∙基础支付∙合单 ✔️ ✔️
APIv2∙基础支付∙账单 ✔️ ✔️
APIv2∙基础支付∙退款 ✔️ ✔️
APIv2∙资金应用∙分账 ✔️ ✔️
APIv2∙资金应用∙红包 ✔️ ✔️
APIv2∙资金应用∙付款 ✔️ ✔️
APIv2∙车主平台 ✔️ ✔️
APIv2∙免押租借 ✔️
APIv2∙免押速住 ✔️
APIv2∙酒店押金 ✔️
APIv2∙委托扣款 ✔️
APIv2∙代金券 ✔️ ✔️
APIv2∙小微 ✔️
APIv2∙风控 ✔️ ✔️
APIv2∙报关 ✔️ ✔️
APIv2∙通用 ✔️ ✔️
APIv2∙企微∙红包 ✔️
APIv2∙企微∙付款 ✔️

PHP

推荐使用 composer 安装

composer require --dev iwechatpay/openapi

IDE提示

工作原理及介绍见这里

特殊URI语法规则

源URI 模版变量
secapi/mch/addInstitutionsub {addinstitutionsub} ^1 addInstitutionsub
secapi/mch/modifyInstitutionsub {modifyinstitutionsub} ^1 modifyInstitutionsub
secapi/mch/queryInstitutionsub {queryinstitutionsub} ^1 queryInstitutionsub
v3/applyment4sub/applyment/ {empty} ^2
v3/ecommerce/applyments/ {empty} ^2

License

MIT


All versions of openapi with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.2
psr/http-message Version ^1.0 || ^2.0
guzzlehttp/promises Version ^1.0 || ^2.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 iwechatpay/openapi contains the following files

Loading the files please wait ....