PHPackages                             wikimedia/smash-pig - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. wikimedia/smash-pig

ActiveLibrary[Payment Processing](/categories/payments)

wikimedia/smash-pig
===================

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

v1.2.4.17(4d ago)631.4k↓43.8%41GPL-2.0-or-laterPHPPHP &gt;=8.2

Since Sep 11Pushed 3d ago9 watchersCompare

[ Source](https://github.com/wikimedia/wikimedia-fundraising-SmashPig)[ Packagist](https://packagist.org/packages/wikimedia/smash-pig)[ Docs](https://www.mediawiki.org/wiki/Fundraising_Tech/SmashPig)[ RSS](/packages/wikimedia-smash-pig/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (62)Versions (389)Used By (1)

```
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/.
```

###  Health Score

68

—

FairBetter than 99% of packages

Maintenance99

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community29

Small or concentrated contributor base

Maturity95

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

387

Last Release

4d ago

Major Versions

v0.9.12.7 → v1.0.02025-11-21

PHP version history (8 changes)0.5.0PHP &gt;=5.3.3

v0.5.1PHP &gt;=5.4

v0.5.3PHP &gt;=5.6

v0.6.0PHP &gt;=7.0

v0.7.0PHP &gt;=7.3

v0.8.7PHP &gt;=7.4

v0.9.0PHP &gt;=8.0

v1.2.3.3PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b94d9718c06ec7c3fd7a104bc44966fb7464b9ec7411582343ea35a7a6a85f08?d=identicon)[mediawiki](/maintainers/mediawiki)

![](https://www.gravatar.com/avatar/716c86d71cbf921e7912a505f89d799de398fc0a3af0bd4c8862834b2d642bd7?d=identicon)[wikimedia](/maintainers/wikimedia)

![](https://www.gravatar.com/avatar/8e7e01be46c83d46e28910e48c66549a1dee319f219eae366f6f8f0cb4f2c7b6?d=identicon)[ejegg](/maintainers/ejegg)

![](https://www.gravatar.com/avatar/814c0148b13653c4ef03b3c2367da7c5919f202785ff224964c20f6b566603d5?d=identicon)[jackgleeson](/maintainers/jackgleeson)

![](https://www.gravatar.com/avatar/5f962ad00fe46ceb7f263c5341eb94aae520d174804c1827fc288f0cebca3e9a?d=identicon)[XenoRyet](/maintainers/XenoRyet)

![](https://www.gravatar.com/avatar/0faa9b51a636c6429ab9b835fbf8c465ec4b52866f7e2e25667611d94ffdff61?d=identicon)[cstone](/maintainers/cstone)

![](https://www.gravatar.com/avatar/63148d77bd8b6dbd601e55cd42ff3b961e097af3d753247d040efdc5f2b3437b?d=identicon)[damilare](/maintainers/damilare)

![](https://www.gravatar.com/avatar/2e1deb74b67316d03c4894e77eefbdf11a7c8c6c6f916d40d1acd0a4fc3c834e?d=identicon)[wfan](/maintainers/wfan)

![](https://www.gravatar.com/avatar/5641571edb820791f58716b175700f5ae8eb198376eb5f10d9dc42511e602429?d=identicon)[dmiranda](/maintainers/dmiranda)

---

Top Contributors

[![ejegg](https://avatars.githubusercontent.com/u/1018606?v=4)](https://github.com/ejegg "ejegg (927 commits)")[![jackgleeson](https://avatars.githubusercontent.com/u/8114138?v=4)](https://github.com/jackgleeson "jackgleeson (258 commits)")[![eileenmcnaughton](https://avatars.githubusercontent.com/u/336308?v=4)](https://github.com/eileenmcnaughton "eileenmcnaughton (221 commits)")[![Damilare1](https://avatars.githubusercontent.com/u/29501113?v=4)](https://github.com/Damilare1 "Damilare1 (151 commits)")[![wikimediaWfan](https://avatars.githubusercontent.com/u/96108825?v=4)](https://github.com/wikimediaWfan "wikimediaWfan (113 commits)")[![ceec](https://avatars.githubusercontent.com/u/1641243?v=4)](https://github.com/ceec "ceec (91 commits)")[![caseydentinger](https://avatars.githubusercontent.com/u/143348?v=4)](https://github.com/caseydentinger "caseydentinger (36 commits)")[![mattofak](https://avatars.githubusercontent.com/u/1670010?v=4)](https://github.com/mattofak "mattofak (29 commits)")[![AndrewGreen](https://avatars.githubusercontent.com/u/857492?v=4)](https://github.com/AndrewGreen "AndrewGreen (7 commits)")[![umherirrender](https://avatars.githubusercontent.com/u/1174884?v=4)](https://github.com/umherirrender "umherirrender (5 commits)")[![FanWenjun](https://avatars.githubusercontent.com/u/13824597?v=4)](https://github.com/FanWenjun "FanWenjun (5 commits)")[![hashar](https://avatars.githubusercontent.com/u/281689?v=4)](https://github.com/hashar "hashar (1 commits)")

---

Tags

paymentsdonations

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wikimedia-smash-pig/health.svg)

```
[![Health](https://phpackages.com/badges/wikimedia-smash-pig/health.svg)](https://phpackages.com/packages/wikimedia-smash-pig)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
