Download the PHP package orinoco/alipay-bundle without Composer

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

AlipayBundle

Symfony bundle wrapper for Alipay SDK and demo library.

把阿里支付 SDK 和 demo 库包装为 Symfony Bundle.

Parts of this bundle / 这个 bundle 的组成

  1. The AlipayBundle folder / AlipayBundle 目录

    This is the Symfony bundle code to define the configs required by this bundle and to instantiate the service instances to use Alipay SDK.

    这里是 Symfony bundle 的代码,定义了所需的配置信息以及构建用于调用 Alipay SDK 的服务对象的代码。

  2. The AlipaySDK folder / AlipaySDK 目录

    Here is the SDK and demo code downloaded from Alipay developer website.

    这里是从阿里支付开发人员站点下载的 SDK 代码以及官方的 demo 代码。

    Download path of the libraries / 代码的下载路径如下:

    服务端SDK alipay-sdk-PHP-20180104135052 https://docs.open.alipay.com/54/103419

    电脑网站支付demo alipay.trade.page.pay-PHP-UTF-8 https://docs.open.alipay.com/270/106291/

    手机网站支付DEMO alipay.trade.wap.pay-PHP-UTF-8 https://docs.open.alipay.com/54/106682/

Why use the demo library / 为什么引用 demo 库

This underlying service instance that instantiated by the bundle is AlipayTradeService.php provided by the demo library by default. While you could define your own service to replace the default and give the class name through config.

默认情况下这个 bundle 底层实例化的类是 demo 库提供的 AlipayTradeService.php。然而你可以提供自己的类,然后在配置里面指定即可。

Usage / 用法

Once the bundle been successfully loaded into your Symfony application, the following service instances would be ready to use:

在 Bundle 成功加载到你的 Symfony 应用程序之后,以下的2个服务对象就可以使用了:

For example:

例如:

Config / 配置


All versions of alipay-bundle 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 orinoco/alipay-bundle contains the following files

Loading the files please wait ....