Download the PHP package hedeqiang/payease without Composer

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

首信易支付 SDK for PHP

PHP Version Require Tests

参考文档 首信易支付首信易支付

环境需求

支持主流框架 LaravelHyperfYii2 快捷使用,具体使用方法请滑到底部

Installing

Usage

本 SDK 已经处理好 hmac 签名,用户不需要传递此参数,merchantId 可传可不传,聚合宝支付时 二级子商户 必须传递 merchantId 代表 子商户,partnerId 为主商户

立即下单

立即下单返回示例

客户端 使用 redirectUrl 发起 get 请求即可发起收银台支付

回调通知

回调返回示例

正常情况下 返回 array,支付成功

ps: 注意未支付、取消支付也是有回调的,也会发到你的回调 URL 地址上

未支付、取消支付回调示例

查询订单

二级商户入网

在 Laravel 中使用

发布配置文件

编写 .env 文件

使用

服务名访问

Facades 门面使用(可以提示)

在 Hyperf 中使用

发布配置文件

编写 .env 文件

使用

在 Yii2 中使用

配置

Yii2 配置文件 config/main.phpcomponents 中添加:

使用

Project supported by JetBrains

Many thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects.

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT


All versions of payease with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
guzzlehttp/guzzle Version ^6.3|^7.4
symfony/psr-http-message-bridge Version ^1.0|^2.1
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 hedeqiang/payease contains the following files

Loading the files please wait ....