Download the PHP package yandy/wechat-xiaowei without Composer

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

# wechat-xiaowei 微信小微商户接口 全家桶 PHP SDK 包含了小微商户全部接口

微信官方文档

安装(PHP>=7.0)

composer require yandy/wechat-xiaowei

示例

说明

1.请将证书文件放到Certificate目录下 然后再创建两个空文件 jiemi.json和jiemi.pem 并保证该目录有写入权限

2.下载证书解密返回的密文需要开启libsodium扩展(PHP >= 7.2 安装包自带这个扩展,去php.ini开启一下就行,< 7.2 的需要去安装这个扩展)

3.调用申请入驻等接口里面需要下载证书接口返回的序列号和需要解密后证书 public_key 来加密敏感信息,所以需要先调用下载证书接口

使用

下载证书接口

$wechat->downloadCertificates();

上传图片接口

$wechat->uploadImg(); 传入参数media file文件

除了上面两个接口其余接口和参数请参考Wechat.php文件即可

实现的接口

applyEnter 申请入驻小微商户

submitUpGrade 小微商户升级接口

upGradeIsThrough 小微商户升级接口状态查询

createJsBizPackage 企业付款到用户零钱

enquiryOfApplyStatus 入驻申请状态查询

tenantConfig 关注配置 小微商户关注功能配置API

payTheDirectoryConfig 支付目录配置 小微商户开发配置新增支付目录API

bindAppIdConfig 绑定appid配置 小微商户新增对应APPID关联API

inquireConfig 查询配置

modifyArchives 小微商户修改资料接口-修改结算银行卡

withdrawalState 服务商帮小微商户查询自动提现 - 查询提现状态

withdrawStatusMsg 提现状态单据状态字段的中文描述

reAutoWithdrawByDate 重新发起提现 - 服务商帮小微商户重新发起自动提现

getApplyEnterList 获取入驻列表

getBusiness 获取类目中文意思

getStoreAddress 传code获取中文地址


All versions of wechat-xiaowei with dependencies

PHP Build Version
Package Version
No informations.
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 yandy/wechat-xiaowei contains the following files

Loading the files please wait ....