Download the PHP package hongxuan/smartpay without Composer
On this page you can find all versions of the php package hongxuan/smartpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hongxuan/smartpay
More information about hongxuan/smartpay
Files in hongxuan/smartpay
Download hongxuan/smartpay
More information about hongxuan/smartpay
Files in hongxuan/smartpay
Vendor hongxuan
Package smartpay
Short Description an integrated third-party payment tools package
License MIT
Package smartpay
Short Description an integrated third-party payment tools package
License MIT
Please rate this library. Is it a good library?
Informations about the package smartpay
smartpay
用于Laravel的第三方支付工具包,使用IOC容器技术,支持composer加载。整合支付宝、微信等支付方式
要求
- php >= 5.6
- laravel >= 5.2 (illuminate/support >= 5.2.0, guzzlehttp/guzzle >= 6.0)
安装
-
安装本扩展包
-
安装配置文件
payment.php
到config目录下 -
将 PaymentServiceProvider 添加到你的配置文件 config/app.php 的 providers 数组中
- 也可同时给其起个
Payment
别名,在配置文件 config/app.php 的 aliases 数组中添加:
目前实现的功能
- 支付宝网页扫码支付
- 支付宝移动端支付
- 支付宝交易查询
- 支付宝交易退款
- 支付宝交易退款查询
- 支付宝交易关闭
- 支付宝对账单下载
- 微信扫码支付
- 微信公众号支付
- 微信交易查询
- 微信交易退款
- 微信交易退款查询
- 微信交易关闭
- 微信对账单下载
使用例子
-
支付:
-
交易查询:
-
退款:
-
退款查询:
-
关闭交易:
- 对账单下载:
All versions of smartpay with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
The package hongxuan/smartpay contains the following files
Loading the files please wait ....