Download the PHP package debmzhang/alipaysdk without Composer

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

<?php // tag include DIR . '/src/Alipay.php';

$config = array( // 应用ID 'app_id' => '2017060507426799', // 签名方式 'sign_type' => 'RSA2', // todo 以下三个加密文件, 上线时需申请线上帐号的对应文件 // @see https://doc.open.alipay.com/doc2/detail.htm?treeId=200&articleId=105310&docType=1 // 支付宝公钥文件 'alipay_public_key_file' => '', // 商户私钥文件 'merchant_private_key_file' => '', // 商户公钥文件 'merchant_public_key_file' => '', //编码格式 'charset' => 'UTF-8', // 支付宝网关 'gateway_url' => 'https://openapi.alipay.com/gateway.do', // 异步通知地址 'notify_url' => '', // 同步跳转 'return_url' => '', // 返回值格式 json / xml 'format' => 'json', // 商品名称 'subject' => '', // 商品描述 'body' => '', // 支付超时时间(格式 eg: 5m [表示5分钟]) 'timeout_express' => '30m', // debug 'debug' => true, );

$alipay = new Alipay($config);

$orderid = mt_rand(10000000, 99999999);

$money = 1;

$result = $alipay->pay($orderid, $money);


All versions of alipaysdk 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 debmzhang/alipaysdk contains the following files

Loading the files please wait ....