Download the PHP package lslcoded/alipay without Composer

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

欢迎使用 Alipay SDK for PHP 。

Alipay SDK for PHP让您不用复杂编程即可访支付宝开放平台开放的各项能力,SDK可以自动帮您满足能力调用过程中所需的证书校验、加签、验签、发送HTTP请求等非功能性要求。

这里向您介绍如何获取 Alipay SDK for PHP 并开始调用。 如果您在使用 Alipay SDK for .PHP 的过程中遇到任何问题,欢迎在当前 GitHub 提交 Issues

环境要求

  1. Alipay SDK for PHP 需要 PHP 5.5 以上的开发环境。

  2. 使用 Alipay SDK for PHP 之前 ,您需要先前往支付宝开发平台-开发者中心完成开发者接入的一些准备工作,包括创建应用、为应用添加功能包、设置应用的接口加签方式等。

  3. 准备工作完成后,注意保存如下信息,后续将作为使用SDK的输入。

AppID应用的私钥应用的公钥证书文件支付宝公钥证书文件支付宝根证书文件

AppId应用的私钥应用的公钥支付宝公钥

快速使用

以下这段代码示例向您展示了使用Alipay SDK for PHP调用一个API的3个主要步骤:

  1. 创建AopClient实例并初始化。
  2. 创建API请求对象并设置request参数。
  3. 发起请求并处理响应或异常。

文档

SDK文档首页

问题

不管您在使用SDK的过程中遇到任何问题,欢迎前往 支付宝开放社区 发帖与支付宝工作人员和其他开发者一起交流。

注:为了提高开发者问题的响应时效,github本身的issue功能已关闭,支付宝开放社区中发帖的问题,通常会在2小时内响应。

相关

许可证

FOSSA Status


All versions of alipay with dependencies

PHP Build Version
Package Version
No informations.
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 lslcoded/alipay contains the following files

Loading the files please wait ....