Download the PHP package vitepay/alipay without Composer
On this page you can find all versions of the php package vitepay/alipay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vitepay/alipay
More information about vitepay/alipay
Files in vitepay/alipay
Download vitepay/alipay
More information about vitepay/alipay
Files in vitepay/alipay
Please rate this library. Is it a good library?
Informations about the package alipay
vitepay-alipay
vitepay的支付宝支付网关。
安装
composer require vitepay/alipay
配置
修改配置config/vitepay_alipay.php
return [
'sandbox' => true,//沙箱模式
'type' => '',//默认为 \vitepay\alipay\BaseGateway
'credentials' => [
'app_id' => '',
'alipay_public_key' => '', //支付宝公钥
'app_private_key' => '',//应用私钥
],
"gateways" => [
"app" => [
'type' => 'app',//对应\vitepay\alipay\gateway\App
'sandbox' => true,
],
"scan" => [
'sandbox' => true,
'type' => 'scan',//对应\vitepay\alipay\gateway\Scan
],
"wap" => [
'sandbox' => true,
'type' => 'wap',//对应\vitepay\alipay\gateway\Wap
],
"web" => [
'sandbox' => true,
'type' => 'wap',//对应\vitepay\alipay\gateway\Web
],
],
];
使用
相关支付
License
The MIT License (MIT). Please see License File for more information.
All versions of alipay with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
topthink/framework Version ^6.0
symfony/options-resolver Version ^3.3
php-http/guzzle6-adapter Version ^2.0
nesbot/carbon Version ^2.28
moneyphp/money Version ^3.3
php-http/message Version ^1.9
vitepay/core Version ^1.0
topthink/framework Version ^6.0
symfony/options-resolver Version ^3.3
php-http/guzzle6-adapter Version ^2.0
nesbot/carbon Version ^2.28
moneyphp/money Version ^3.3
php-http/message Version ^1.9
vitepay/core Version ^1.0
The package vitepay/alipay contains the following files
Loading the files please wait ....