定制 wikimedia/smash-pig 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wikimedia/smash-pig

最新稳定版本:v1.0.4.1

Composer 安装命令:

composer require wikimedia/smash-pig

包简介

The open source PHP flexible payments library and frontend/backend mediator.

README 文档

README

SmashPig payments library This project uses Composer [https://getcomposer.org] to manage dependencies. Upon first install and any upgrade please run composer install. SmashPig uses two types of configuration files. Global configuration files define settings shared across all payment providers, including database and queue settings. Default global configuration values are located in config/main.yaml. These are overridden by values in /etc/smashpig/main.yaml, then by values in ~/.smashpig/main.yaml. Provider configurations files contain settings which may differ between payment providers, such as account credentials and HTTP request settings. Defaults are in config/provider-defaults.yaml. They are overridden in a similar cascade by the same file in /etc/smashpig and ~/.smashpig, then overridden by settings in subdirectories named for the relevant payment processor. So for example, to enable debug logging only for paypal, you would add the 'logging:' top-level key to /etc/smashpig/paypal/main.yaml, then 'log-level: 7' nested under that. If you need to deploy provider configuration files in a separate directory from the global /etc/smashpig/main.yaml, set the provider-configuration-directory key in that global configuration file to point to your alternate directory. Command-line maintenance scripts have some common options: --help --memory-limit overrides the limit specified in php.ini --config-path specifies a top-priority override configuration file path --config-node specifies which processor-specific configuration to use -- 3rd Party Licences -- The favicon is licenced under CC Attribution. http://creativecommons.org/licenses/by/3.0/legalcode It was obtained from http://www.iconspedia.com/icon/piggy-bank-icon-37074.html and then modified to fit the favicon format. The original author was DesignContest, http://www.designcontest.com/. 

统计信息

  • 总下载量: 28.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 9
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-01-04