PHPackages                             jontjs/worldpay-lib-php - 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. [API Development](/categories/api)
4. /
5. jontjs/worldpay-lib-php

ActiveLibrary[API Development](/categories/api)

jontjs/worldpay-lib-php
=======================

Worldpay PHP Library

3.0.0(4y ago)017MITPHPPHP &gt;=5.3.0

Since Apr 20Pushed 4y agoCompare

[ Source](https://github.com/jontjs/worldpay-lib-php)[ Packagist](https://packagist.org/packages/jontjs/worldpay-lib-php)[ Docs](https://online.worldpay.com)[ RSS](/packages/jontjs-worldpay-lib-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Worldpay PHP Library 3.0.0
==========================

[](#worldpay-php-library-300)

This is a fork of the [official Worldpay PHP library](https://github.com/Worldpay/worldpay-lib-php), which is currently unmaintained.

Installation
------------

[](#installation)

### Composer

[](#composer)

Add to your composer.json:

```
"jontjs/worldpay-lib-php": "~3.0.0"
```

Or run:

```
composer require jontjs/worldpay-lib-php:~3.0.0
```

### Manual

[](#manual)

If you need to use this library in a legacy environment without auto-loading, you can require the `init.php` file as shown below.

```
require_once('worldpay-php/init.php');
```

Documentation
-------------

[](#documentation)

API Reference
-------------

[](#api-reference)

Examples
--------

[](#examples)

The examples require editing to support PHP 5.3.

### index.php

[](#indexphp)

Uses WorldpayJS to generate a token that is posted to create\_order.php. **Change your client key**

### create\_order.php

[](#create_orderphp)

Creates a Worldpay order with a posted token. \**Change your service key*

### 3ds\_redirect.php

[](#3ds_redirectphp)

Authorizes a 3DS order \**Change your service key*

### refund.php

[](#refundphp)

Enter your Worldpay order code and posts it to refund\_order.php

### refund\_order.php

[](#refund_orderphp)

Refunds a Worldpay order with a posted order code **Change your service key**

### partial\_refund.php

[](#partial_refundphp)

Enter your Worldpay order code and amount to refund and posts it to partial\_refund\_order.php

### partial\_refund\_order.php

[](#partial_refund_orderphp)

Refunds a Worldpay order with a posted order code **Change your service key**

### stored\_cards.php

[](#stored_cardsphp)

Enter your Worldpay reusable token and posts it to stored\_cards.php

### get\_stored\_cards.php

[](#get_stored_cardsphp)

Shows stored card details from posted token \**Change your service key*

Requirements
------------

[](#requirements)

PHP 5.3+ Curl

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~497 days

Total

5

Last Release

1693d ago

Major Versions

2.1.2 → 3.0.02021-09-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dfef818d75f42c3bfaeccc082d6a27fc944ebfa63f6379aa7d500e80b069a6e?d=identicon)[jontjs](/maintainers/jontjs)

---

Top Contributors

[![ao](https://avatars.githubusercontent.com/u/1898708?v=4)](https://github.com/ao "ao (18 commits)")[![o10g](https://avatars.githubusercontent.com/u/201847?v=4)](https://github.com/o10g "o10g (1 commits)")[![pfich-wp](https://avatars.githubusercontent.com/u/46560516?v=4)](https://github.com/pfich-wp "pfich-wp (1 commits)")[![ssimmie-wpay](https://avatars.githubusercontent.com/u/14092272?v=4)](https://github.com/ssimmie-wpay "ssimmie-wpay (1 commits)")

---

Tags

apipaymentsworldpayuiisthebest

### Embed Badge

![Health badge](/badges/jontjs-worldpay-lib-php/health.svg)

```
[![Health](https://phpackages.com/badges/jontjs-worldpay-lib-php/health.svg)](https://phpackages.com/packages/jontjs-worldpay-lib-php)
```

###  Alternatives

[transbank/transbank-sdk

Transbank SDK

62626.4k12](/packages/transbank-transbank-sdk)[openbuildings/paypal

PayPal SDK for ExpressCheckout and AdaptivePayments. Supports recurring payments, simple payments, parallel payments and chained payments.

31176.0k](/packages/openbuildings-paypal)[samerior/mobile-money

Mobile payments API - Kenya

252.3k](/packages/samerior-mobile-money)

PHPackages © 2026

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