Download the PHP package guanhui07/pay-sdk without Composer

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

PaySDK

Latest Version Php Version IMI Doc IMI License

介绍

PaySDK 是 PHP 集成支付 SDK ,集成了支付宝、微信支付的支付接口和其它相关接口的操作。

无框架依赖,支持所有框架,支持 Swoole 协程环境。

我们有完善的在线技术文档:http://doc.yurunsoft.com/PaySDK

API 文档:https://apidoc.gitee.com/yurunsoft/PaySDK

此项目进入维护阶段,不会支持微信V3接口,懒得跟着他们折腾,如有需要请找别处!

作者本人不提供任何技术支持,如有需要可以加群讨论:17916227 点击加群,有没有人回复就不一定了。

大家在开发中肯定会对接各种各样的支付平台,我个人精力有限,欢迎各位来 Github 提交 PR,一起完善 PaySDK ,让它能够支持更多的支付平台,更加稳定可靠好用。

支持的支付接口

支付宝

微信支付

安装

在您的composer.json中加入配置:

PHP >= 5.5

PHP >= 5.4

3.x 版本支持 PHP >= 5.5,持续迭代维护中

2.x 版本支持 PHP >= 5.4,支持长期 BUG 维护,保证稳定可用,停止功能性更新

然后执行composer update命令。

代码示例

支付宝即时到账

支付宝手机网站支付

微信H5支付

Swoole 协程环境支持

在支付、退款异步通知中,需要赋值 SwooleRequestResponse 对象,或者遵循 PSR-7 标准的对象即可。

主流框架的 RequestResponse 对象,一般都遵循 PSR-7 标准,可以直接使用。

imi 框架中使用

imi 是基于 PHP Swoole 的高性能协程应用开发框架,它支持 HttpApi、WebSocket、TCP、UDP 服务的开发。

在 Swoole 的加持下,相比 php-fpm 请求响应能力,I/O密集型场景处理能力,有着本质上的提升。

imi 框架拥有丰富的功能组件,可以广泛应用于互联网、移动通信、企业软件、云计算、网络游戏、物联网(IOT)、车联网、智能家居等领域。可以使企业 IT 研发团队的效率大大提升,更加专注于开发创新产品。

https://www.imiphp.com/

其它框架(Swoole 对象)

其它框架(PSR-7 对象)

商业服务

服务内容:

如有需要加QQ:369124067 微信:wx_zhangrunyu(注明来意)

捐赠

开源不求盈利,多少都是心意,生活不易,随缘随缘……


All versions of pay-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
yurunsoft/yurun-http Version ~4.0|~5.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 guanhui07/pay-sdk contains the following files

Loading the files please wait ....