cooper / jlpay-qrcode
JiaLian Payment PHP SDK.
Fund package maintenance!
cooper
Requires
- php: ^8.1
- ext-openssl: *
- guzzlehttp/guzzle: ^7.8
- monolog/monolog: ^3.6
Requires (Dev)
- laravel/pint: ^1.0
- pestphp/pest: ^3.0
README
Installation
You can install the package via composer:
composer require cooper/jlpay-qrcode
Usage
$api = new Cooper\JlPayQrcode\Api((JL_PUB_KEY, MER_PRI_KEY, ORG_CODE, MER_ID)); $res = $api->sendChnQueryRequest(transactionId: '451113671593190188646497'); // 查询订单 var_dump($res);
Check the API methods corresponding to the API class.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.