PHPackages                             thanhvo-cse/worldpay - 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. thanhvo-cse/worldpay

ActiveLibrary[API Development](/categories/api)

thanhvo-cse/worldpay
====================

PHP Library for Worldpay API

v1.4.0(2y ago)2442MITPHP

Since Jun 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thanhvo-cse/worldpay)[ Packagist](https://packagist.org/packages/thanhvo-cse/worldpay)[ RSS](/packages/thanhvo-cse-worldpay/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (1)Versions (8)Used By (0)

worldpay-wpg
============

[](#worldpay-wpg)

Connect to the Worldpay API.

#### Installation

[](#installation)

##### Composer

[](#composer)

```
composer require thanhvo-cse/worldpay

```

##### Event

[](#event)

- Define your observer:

```
use ThanhVo\Worldpay\WPG\Client;

class BeforeRequestListener implements ThanhVo\Worldpay\Event\ObserverInterface
{
/**
     * @return string
     */
    public function getSubject(): string
    {
        return Client::EVENT_BEFORE_REQUEST;
    }

    /**
     * @param $data
     * @return mixed
     */
    public function onEvent($data)
    {
        // Handle your Observer here
        var_dump($data);
    }
}
```

- Add your observer

```
$hosted = new \ThanhVo\Worldpay\WPG\Service\Hosted();
$beforeObserver = new BeforeRequestListener();
$hosted->addEventObserver($beforeObserver);
...
```

##### Event list

[](#event-list)

- before\_request
- after\_response

#### Documentation

[](#documentation)

#### Sample

[](#sample)

The sample is located in sample directory. Please find the readme file in there.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~255 days

Recently: every ~303 days

Total

6

Last Release

931d ago

Major Versions

0.1.0 → v1.0.02020-08-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf56052bd7e78a1d6e1e46dfbc8a833f2bbf143304e1421f9e0f91dab024b438?d=identicon)[thanhvo-cse](/maintainers/thanhvo-cse)

---

Top Contributors

[![thanhvo-cse](https://avatars.githubusercontent.com/u/28495119?v=4)](https://github.com/thanhvo-cse "thanhvo-cse (28 commits)")[![legato-thanhvo](https://avatars.githubusercontent.com/u/66261026?v=4)](https://github.com/legato-thanhvo "legato-thanhvo (4 commits)")[![clara-truong](https://avatars.githubusercontent.com/u/74709358?v=4)](https://github.com/clara-truong "clara-truong (2 commits)")

### Embed Badge

![Health badge](/badges/thanhvo-cse-worldpay/health.svg)

```
[![Health](https://phpackages.com/badges/thanhvo-cse-worldpay/health.svg)](https://phpackages.com/packages/thanhvo-cse-worldpay)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M973](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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