glaivepro/libwebtopay
Composer 安装命令:
composer require glaivepro/libwebtopay
包简介
PHP Library for Paysera payment gateway integration
README 文档
README
Fork of paysera/lib-webtopay with testing enabled and PHP8.0 support.
Aiming for more maintenance, cleanup, PHP8.1 support etc. if the time allows.
Description from the source of the fork:
The Checkout API (Payment Gateway API) allows for the collection of online payments with many payment methods. The Checkout API is easy to integrate – simply use one of our methods and the checkout processes will be performed automatically. The library can be used to check all the necessary security parameters of transferred and received data. More information can be found in the documentation.
Version support
The master branch is intended to be usable on current PHP versions.
The legacy lib that supports PHP 5.5-8.0 and includes a built megafile is maintained on the v1 branch.
Installation
composer require glaivepro/libwebtopay
Development
Requires git, PHP and composer. Clone the repo and install dev dependencies:
git clone https://github.com/GlaivePro/lib-webtopay.git composer update
Testing
composer test
Code style checking
composer cs
Roadmap
- Fix PHP8.1 support
- Convert pseudo-namespaces to real namespaces
- Improve test coverage
- Remove demo from the archive like here
Demo
Note: this is inherited from the source of the fork. No plans on active maintenance.
demo_shop is a simple example how you can integrate library to your project. It also shows how to get payment methods available for your project and specific amount.
Demo needs write permissions to folder /var to function properly. If you want to test demo online, also change parameters in includes/config.php file to your project's. If you are testing offline, demos will still work, but webtopay.com will be unable to send callback to your site - you can login to your account and copy-and-paste the callback link in your browser in that case.
glaivepro/libwebtopay 适用场景与选型建议
glaivepro/libwebtopay 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 11 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 glaivepro/libwebtopay 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 glaivepro/libwebtopay 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2021-11-14