bungamata/doku-wrapper
最新稳定版本:v1.0.0
Composer 安装命令:
composer require bungamata/doku-wrapper
包简介
A simple wrapper for the Doku implementation
README 文档
README
The reason I made this library to make it easily integrate Doku into their project without the need to understand cryptography.
With this library, you only need to send the payload to Doku and this library will handle the cryptography for you.
How to use
- To get payment checkout URL, see file
DokuCheckoutV1PaymentUrlTest::testGet()for how to use it. - To validate Doku notification, see file
DokuNotificationTest::testValidateFromRequest()for how to use it.
How to test locally
- Copy file
phpunit.xml.disttophpunit.xmland replace the of Doku credentials with your own.
TODO
- DokuNotification add function to validate notification using plain parameters without Request instance for broader support, currently it use Request instance which is only available in Laravel & Symfony framework.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-18