Download the PHP package haveyb/alipay without Composer

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

一、介绍

没有接触过支付宝支付的同学,包括一部分已经接触过支付宝支付,但只是使用sdk的同学,都不太了解支付宝支付时,到底内部都进行了什么处理,基于此,写此composer 包。

本包内部集成了 MD5、RSA、RSA2三种方式,目前支付宝官方推荐使用最新版本的RSA2。而且目前支付宝的沙箱也仅支持RSA2方式。

本包配置好参数之后,可以直接进行测试,这里再次推荐使用最新的RSA2方式。配置参数的方式也很简单。

  

二、使用:

1、配置config.php 中的参数

  

2、实例化时,指定方式,MD5、RSA、RSA2,并将订单基本信息传过去。   

3、根据实际需求修改 notify.php 中日志记录。   

4、根据实际需求修改 Base.php 中的 checkOrderFee 和 changeOrderStatus 方法。

5、在调用的地方添加如下代码,即可运行

  

三、使用效果

  

Powered by https://www.haveyb.com/article/192


All versions of alipay with dependencies

PHP Build Version
Package Version
Requires php Version >=7.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 haveyb/alipay contains the following files

Loading the files please wait ....