Registry / http-client / alipaysdk-easysdk

alipaysdk-easysdk

JSON →
library2.2.3phppackagistunverified

支付宝官方 Alipay Easy SDK

composer require alipaysdk/easysdk
INSTALL
IMPORT
SIG · ALIPAYSDK-EASYSDK
A
alipaysdk-easysdk
http-clientphpv2.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Factory
use Alipay\EasySDK\Kernel\Factory;

Initialize the SDK and create an app payment.

use Alipay\EasySDK\Kernel\Factory; Factory::setOptions([ 'app_id' => 'your_app_id', 'alipay_public_key' => '...', 'merchant_private_key' => '...', ]); $result = Factory::payment()->app()->create('subject', 'out_trade_no', 'total_amount');
Debug
Known issues
breakingRequires PHP 7.2+ and ext-curl.
fix
Install curl extension.
affects: >=2.0.0
Upgrade
Version history
2.2.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
40
Resources
alipaysdk-easysdk — pip install alipaysdk-easysdk · libregistry