Download the PHP package fengkui/pay without Composer

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

Pay

Latest Stable Version Total Downloads Latest Unstable Version License

开发了多次支付,每次都要翻文档、找之前的项目复制过来,费时费事,为了便于支付的开发,
干脆自己去造了一个简单轮子,整合支付(微信、支付宝、银联、百度、字节跳动)相关开发。

!!请先熟悉 相关支付 说明文档!!请具有基本的 debug 能力!!

欢迎 Star,欢迎 PR!

特点

运行环境

使用文档

支持的支付

1、微信(Wechat)

method 描述
js JSAPI下单
app APP支付
h5 H5支付
scan Navicat支付
xcx 小程序支付
query 查询订单
close 关闭订单
notify 支付结果通知
refund 申请退款
queryRefund 查询退款
transfer 转账到零钱
queryTransfer 查询转账到零钱
profitSharing 请求分账
profitsharingUnfreeze 解冻剩余资金
queryProfitsharing 查询分账结果/查询分账剩余金额
profitsharingReturn 请求分账回退
receiversAdd 添加分账接收方
receiversDelete 删除分账接收方

2、支付宝(Alipay)

method 描述
web 电脑网页支付
wap 手机网站支付
xcx 小程序支付
face 发起当面付
app app支付(JSAPI)
query 查询订单
close 关闭订单
notify 支付宝异步通知
refund 订单退款
refundQuery 查询订单退款
transfer 转账到支付宝账户
transQuery 查询转账到支付宝
relationBind 分账关系绑定与解绑
relationQuery 查询分账关系
settle 统一收单交易结算接口
settleQuery 交易分账查询接口
onsettleQuery 分账比例查询 && 分账剩余金额查询
getToken 获取access_token和user_id
doGetUserInfo 获取会员信息

3、银联(Union)

method 描述
web 电脑在线网关支付
wap 手机网页支付
query 查询订单
notify 银联异步通知
refund 订单退款/交易撤销

4、百度(Baidu)

method 描述
xcx 小程序支付
refund 申请退款
notify 支付结果通知

5、字节跳动(Bytedance)

method 描述
createOrder 下单支付
queryOrder 订单查询
notifyOrder 订单回调验证
createRefund 订单退款
queryRefund 退款查询
settle 分账请求
querySettle 分账查询

安装

完善相关配置

使用说明

单独使用

公共使用

一起喝可乐

请备注一起喝可乐,以便感谢支持

LICENSE

MIT


All versions of pay with dependencies

PHP Build Version
Package Version
Requires fengkui/supports Version *
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 fengkui/pay contains the following files

Loading the files please wait ....