Download the PHP package xwzj/wechat without Composer

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

wechat

微信相关SDK

Installation

Use Composer to install the library.

小程序,公众号,H5支付,App支付,扫码支付模式二

支付回调 (小程序,公众号,H5支付,App支付,扫码支付模式二)

申请退款

扫码支付模式一

事件推送相关

小程序用户信息相关


所有代码api都可以在examples目录中查看


目录结构

wechat  SDK根目录
├─curl           curl封装代码目录
│  ├─Request             请求类
│
├─examples                  示例代码目录
│  ├─BizPayUrl.php          扫码支付模式一示例代码
│  ├─PayNotify.php          微信支付回调通知示例代码
│  └─PayUnifiedOrder        微信支付示例代码
│  └─Refund                 退款示例代码
│  └─WxEventPush            微信事件推送
│
├─pay                        支付相关代码目录
│  ├─WxPayBizPayUrl.php     扫码支付模式一生成二维码参数
│  ├─WxPayCloseOrder.php    关闭订单输入对象
│  └─WxPayDataBase          基础数据类
│  └─WxPayDownloadBill      下载对账单输入对象
│  └─WxPayException         微信异常处理
│  └─WxPayMicroPay          提交被扫输入对象
│  └─WxPayNotify            支付回调通知
│  └─WxPayOrderQuery        订单查询
│  └─WxPayRefund            提交退款
│  └─WxPayRefundQuery       退款查询
│  └─WxPayReverse           撤销输入
│  └─WxPayShortUrl          短链转换
│  └─WxPayUnifiedOrder      统一下单输入对象
│
├─weapp                      公众号及小程序相关SDK
│  ├─EventPush.php          微信公众号事件推送类
│  ├─SendEventPushMsg.php   消息推送信息返回格式化类
│  └─WeAppData              数据基类
│  └─WeAppException         微信异常处理
│  └─WxTemplate             模板消息相关
│  └─WxUser                 微信用户相关
│

All versions of wechat with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 xwzj/wechat contains the following files

Loading the files please wait ....