Download the PHP package cccyun/alipay-sdk without Composer

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

Alipay SDK for PHP

支付宝开放平台第三方 PHP SDK,基于官方最新版本,支持公钥和公钥证书2种模式。

功能特点

环境要求

PHP >= 7.1

使用方法

  1. Composer 安装。

  2. 创建配置文件 config.php,填写配置信息。

  3. 引入配置文件,构造请求参数,调用AlipayTradeService中的方法发起请求,参考 examples/qrpay.php

  4. 更多实例,请移步 examples 目录。

  5. AlipayService实现类功能说明

    类名 说明
    AlipayTradeService 支付宝交易功能,基本上所有支付产品都用这个
    AlipayOauthService 支付宝快捷登录功能,用于JS支付快捷登录以及第三方应用授权
    AlipaySettleService 支付宝分账功能
    AlipayTransferService 支付宝转账功能
    AlipayComplainService 支付宝交易投诉处理
    AlipayCertifyService 支付宝身份认证
    AlipayCertdocService 支付宝实名证件信息比对验证
    AlipayBillService 支付宝账单功能
  6. 要对接的API在AlipayService实现类中没有,可根据支付宝官方的文档,使用AlipayService类中的aopExecute方法直接调用接口,参考 examples/other.php

All versions of alipay-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-json Version *
ext-openssl Version *
ext-curl Version *
ext-mbstring Version *
ext-bcmath 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 cccyun/alipay-sdk contains the following files

Loading the files please wait ....