faiverson/merchants
Composer 安装命令:
composer require faiverson/merchants
包简介
Using a merchant handler to use with laravel
README 文档
README
Use different merchant with Laravel for a direct sale/transaction
Installation
Using composer
composer require merchant-handler
Or add to composer.json
"faiverson/merchant-handler" : "^1.0.0"
How to use
Go to the app.php and add in the providers:
composer require merchant-handler
Faiverson\Merchant\MerchantServiceProvider::class,
The you can inject the dependency in your object 'use Faiverson\Merchant\contract\Merchant;'
public function __construct(Merchant $merchant)
And you can use the 2 methods: purchase and refund
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-09