Download the PHP package xlmo/payment without Composer

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

Latest development Monthly installs


提醒:发现有人将我提供的支付宝测试账号乱修改资料,打广告。请大家不要加上面的任何联系方式。如果再发现,我就把测试账号注销了(怕大家被骗)


Payment 需要 PHP >= 5.6以上的版本,并且同时需要PHP安装以下扩展

成都本地内推微信公众号,有需要的拿走:

Payment是什么?

Payment是一个集成了 支付宝支付微信支付招商支付的PHP SDK。服务端开发者将它集成到自己的项目中,可以方便的通过相同的操作方式进行各项支付操作。不在需要开发者去单独了解支付宝、微信、招商的接口文档。以发起支付举例,开发者只需要通过:

就可以得到支付结果返回数据。关心的核心只需要正确了解如何组装支付数据,以及如何正确处理返回后的数据即可。

Payment支持所有的PHP项目,只要求PHP版本大于等于5.6即可。同时支持composer与手动引入两种安装方式。

当前支持的接口

当前sdk仅接入了支付宝支付、微信支付、招商支付(支付、退款)。中国现在电子支付的公司巨多,无法一一接入,欢迎各位发扬自己动手、丰衣足食的光荣传统,提交PR给我,代码贡献指南 看这里

支付宝接口

微信支付接口

招商支付

安装

通过composer,这是推荐的方式,可以使用composer.json 声明依赖,或者直接运行下面的命令。

放入composer.json文件中

然后运行

直接下载放入自己的项目中,通过 require 的方式引用代码。极度不推荐

Change Log


联系&打赏

感谢朋友们的支持:支持名单

个人公众号:icanfo

联系邮箱:[email protected]


打赏扫这里

Contribution

Contribution Guide

License

The code for Payment is distributed under the terms of the MIT license (see LICENSE).


All versions of payment with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ext-bcmath Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ~6.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 xlmo/payment contains the following files

Loading the files please wait ....