Download the PHP package zhan3333/payment without Composer

On this page you can find all versions of the php package zhan3333/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 能够做什么

Paymeng 主要帮助 php 开发者在服务端快速接入主流的支付平台(支付宝支付、微信支付等)。节省时间少走弯路。

Payment 针对不同支付平台,提供了统一的调用方式,开发者无需再一个平台一个平台的去阅读文档、调试。所有的支付平台后台服务统一用一套代码,在支付对接模块的代码维护量大大减少,可以把更多的时间和精力花在自身产品的核心业务上

为什么要用Payment SDK

所有的支付官方都提供了demo,方便开发者学习使用。但是其中每一个支付 demo 都不尽相同,并且不少 官方 demo 还有不少错误,让开发者使用的时候莫名其妙。

针对不同的支付,官方demo写法各异,很多还使用了老旧的 php 语法。

Payment SDK 针对不同服务商的支付功能,都提供统一的调用方式,大大降低学习与使用成本。

与其他聚合支付服务的对比

这里最主要的对比对象是ping++。当然我这个个人开发者肯定没法与之相比。首先ping++服务更多,接入的支付种类更多。开放出来的接口也更多。

但是本sdk的优势也非常明显。

其他

开发者只需要专注自己的业务,对于主流支付方式本sdk会持续集成

招商一网通支付 正在开发中... ...

更多详细情况请点击这里

由于 payment v1 版本在设计开发时的缺陷,不在进行维护升级。并且 v2 版本也不与之兼容。建议大家都升级v2版本

重要变更

安装与使用Payment

推荐大家通过composer来进行安装。

通过composer,这是推荐的方式,可以使用composer.json 声明依赖,或者运行下面的命令。SDK 包已经放到这里 riverslei/payment

放入composer.json文件中

代码中以提供一个默认autolaod.php 可直接使用.

Payment v2.x需要 PHP >= 5.6,并且需要安装以下扩展:

Payment v1.x需要 PHP >= 5.3 , 并且需要安装以下扩展:

Payment SDK使用文档请看这里

联系&打赏

如果真心觉得项目帮助到你,为你节省了成本,欢迎鼓励一下。

如果有什么问题,可通过以下方式联系我。提供有偿技术服务。

也希望更多朋友可用提供代码支持。欢迎交流与大赏。

邮箱[email protected]

不错,我要鼓励一下

image

打赏名单

名字 金额 说明 时间
88 感觉还不错,特打赏88元,略表感谢。 2017-02-28
汤明洋 66.66 支持一下 2017-02-19
李仕建同学 18.88 新春快乐 2017-02-09
凡额 50.00 帮助调试,谢谢了 2017-01-18
Thans秦 66.66 商业使用 2017-01-08
John 10.00 设计很棒 2017-01-06
Davidw 699.00 支持开发2.0 2016-12-15
宁静致远 10.00 鼓励你,加油额 2016-12-13
k7 8.00 批量付款,一次成功 2016-11-24
50.00 资助开源 2016-11-23
张仲东 50.00 接口封装的不错 2016-11-17
放下...快乐 1000.00 支付宝即时到帐处理 2016-11-15
Robin Core Animation 50.00 解决微信支付问题 2016-11-04
5Z4 20.00 解决回调问题 2016-10-31
哈罗Joe 1.00 加油~~ 2016-8-23
小兵~招UI前端 50.00 继续努力,喝杯水吧:-) 2016-8-14
尊称韦爵爷 1.00 赶紧出个yii的扩展 2016-7-22
一米市集 1000.00 希望提供技术长期合作 2016-7-20
张松 15.00 不错,已用到项目中 2016-6-17

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 *
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 zhan3333/payment contains the following files

Loading the files please wait ....