laravel-llpay maintained by ethan
Last update
2022/07/27 07:32
License
Require
- php ^7.4||^8.0
- ext-openssl *
- ext-curl *
- league/flysystem-sftp 1.*
Last update
2022/01/26 09:08
Require
- php ^7.4||^8.0
- ext-openssl *
- ext-curl *
- league/flysystem-sftp 1.*
Last update
2022/01/26 04:31
Require
- php ^7.4||^8.0
- ext-openssl *
- ext-curl *
- league/flysystem-sftp 1.*
Last update
2022/01/24 10:45
Require
- php ^7.4||^8.0
- ext-openssl *
- ext-curl *
- league/flysystem-sftp 1.*
Last update
2022/01/24 09:36
Require
- php ^7.4||^8.0
- ext-openssl *
- ext-curl *
Last update
2022/01/21 09:23
Require
- ext-openssl *
- ext-curl *
连连支付sdk for laravel
-
安装
composer require ethan/laravel-llpay -
发布配置文件
php artisan vendor:publish --provider="Ethan\LianLianPay\LianLianPayServiceProvider" -
修改配置文件
config/lianlianpay.php -
使用方式
- 连连付款类,需要另外开通,查看连连开放平台文档
LianLianPay::InstantPay();- 连连收款类 查看连连开放平台文档
LianLianPay::Pay();- 连连退款类 查看连连开放平台文档
LianLianPay::Refund();- 连连对账单类,需要另外开通,查看连连开放平台文档
LianLianPay::Reconciliation(); //filesystems里的disk配置要配置连连对账单sftp服务器信息 //需要安装laravel的sftp插件 'llpay' => [ 'driver' => 'sftp', 'host' => 'dev.lianlianpay.com', 'username' => '20170328000044444', 'password' => '123456', 'port' => 9122, 'root' => '/20170328000044444', ],- 具体使用方式敬请期待wiki