PHPackages                             solidshops/phppayments - 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. solidshops/phppayments

ActiveLibrary[Payment Processing](/categories/payments)

solidshops/phppayments
======================

solidshops phppayments library

88234PHP

Since May 7Pushed 6y ago2 watchersCompare

[ Source](https://github.com/solidshops/PHPpayments)[ Packagist](https://packagist.org/packages/solidshops/phppayments)[ RSS](/packages/solidshops-phppayments/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

\#PHPpayments

Payment wrapper class for PHP created by @SolidShops

\##Installation You can [download the latest version](http://github.com/solidshops/phppayments/zipball/master) or use composer:

```
{
	"require": {
		"solidshops/phppayments": "dev-master"
	}
}
```

\##Supported payment methods **Offline:**

- Banktransfer
- Cash on delivery
- Cheque
- Pickup

**Integration:**

- [Authorize](http://www.authorize.net/)
- [Mollie](https://www.mollie.nl/)
- [MultiSafePay](https://www.multisafepay.com/)
- [Ogone](http://www.ogone.com/)
- [Paypal website payments standard](https://www.paypal.com)
- [Sisow](https://www.sisow.nl/)
- [2checkout](https://www.2checkout.com/)

\##Example

```
$paymentmethod = "Payment_Integration_Paypalwebsitepaymentsstandard";
$obj_payment = \PHPpayments\Loader::load ( $paymentmethod );

//set credentials
$obj_payment->addFieldSetting ( "account", "yourpaypalemail@domain.com" );

//set order data
$obj_payment->addFieldOrder ( "guid", "123132123132123" );
$obj_payment->addFieldOrder ( "id", "1000" );
$obj_payment->addFieldOrder ( "currency", "EUR" );

$obj_payment->addFieldOrder ( "total", 100 );
$obj_payment->addFieldOrder ( "email", "name@domain.com");

//set billing data
$obj_payment->addFieldBilling ( "firstname", "John" );
$obj_payment->addFieldBilling ( "lastname", "Doe " );
$obj_payment->addFieldBilling ( "companyname", "Billing company" );
$obj_payment->addFieldBilling ( "address1", "Billing street1" );
$obj_payment->addFieldBilling ( "address2", "Billing street2" );
$obj_payment->addFieldBilling ( "city","Billing city" );
$obj_payment->addFieldBilling ( "state", "Billing state");
$obj_payment->addFieldBilling ( "zip", "Billing zip" );
$obj_payment->addFieldBilling ( "country", "Billing country" );
$obj_payment->addFieldBilling ( "phone", "Billing phone");

//set shipping data if available
$obj_payment->addFieldShipping ( "firstname", "Jane" );
$obj_payment->addFieldShipping ( "lastname", "Doe " );
$obj_payment->addFieldShipping ( "companyname", "Shipping company" );
$obj_payment->addFieldShipping ( "address1", "Shipping street1" );
$obj_payment->addFieldShipping ( "address2", "Shipping street2" );
$obj_payment->addFieldShipping ( "city", "Shipping city" );
$obj_payment->addFieldShipping ( "state", "Shipping state" );
$obj_payment->addFieldShipping ( "zip", "Shipping zip" );
$obj_payment->addFieldShipping ( "country", "Shipping country" );
$obj_payment->addFieldShipping ( "phone", "Shipping phone" );

//set urls for after payment
$domain = "http://www.domain.com";
$obj_payment->setUrlSite ( $domain );
$obj_payment->setUrlSuccess ( $domain . "/aftersuccess" );
$obj_payment->setUrlCancel ( $domain . "/aftercancel" );
$obj_payment->setUrlCallback ( $domain . "/callback" );

//enable sandbox environment
$obj_payment->enableTestMode ();

//map our data structure with payment providers structure
$obj_payment->preparePayment ();

//redirect to payment provider
$obj_payment->processPayment ();
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 73.4% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/600439?v=4)[driesdroesbeke](/maintainers/driesdroesbeke)[@driesdroesbeke](https://github.com/driesdroesbeke)

---

Top Contributors

[![driesdroesbeke](https://avatars.githubusercontent.com/u/600439?v=4)](https://github.com/driesdroesbeke "driesdroesbeke (58 commits)")[![driesdroesbekedigipolis](https://avatars.githubusercontent.com/u/199942492?v=4)](https://github.com/driesdroesbekedigipolis "driesdroesbekedigipolis (21 commits)")

### Embed Badge

![Health badge](/badges/solidshops-phppayments/health.svg)

```
[![Health](https://phpackages.com/badges/solidshops-phppayments/health.svg)](https://phpackages.com/packages/solidshops-phppayments)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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