PHPackages                             ponchopay/pp-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. ponchopay/pp-php

ActiveLibrary

ponchopay/pp-php
================

Tools to integrate PonchoPay on PHP

1.5.0(1mo ago)25.5k↓18.4%MITPHPPHP ^8.4CI failing

Since Sep 15Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/ponchocare/pp-php)[ Packagist](https://packagist.org/packages/ponchopay/pp-php)[ RSS](/packages/ponchopay-pp-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (8)Versions (8)Used By (0)

pp-php
======

[](#pp-php)

Tools to integrate PonchoPay on PHP

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

[](#installation)

Install it from `packagist`:

```
composer require ponchopay/pp-php
```

Usage
-----

[](#usage)

This package declares the following functions:

- [createToken](https://github.com/ponchocare/pp-php/blob/master/docs/token/createToken.md): This function allows the creation of tokens for the initialisation endpoints.
- [createJWT](https://github.com/ponchocare/pp-php/blob/master/docs/token/createJWT.md): This function allows the creation of JWTs for the payment manipulation endpoints.

And the `Client` class which provides the following methods:

- [validateLocationUrn](https://github.com/ponchocare/pp-php/blob/master/docs/client/validateLocationUrn.md): This method allows you to validate a location to ensure it is ready to process payments.
- [initiatePayment](https://github.com/ponchocare/pp-php/blob/master/docs/client/initiatePayment.md): This method allows to initialise a payment in PonchoPay.
- [initiateSubscription](https://github.com/ponchocare/pp-php/blob/master/docs/client/initiateSubscription.md): This method allows to initialise a subscription in PonchoPay.
- [updatePaymentMethod](https://github.com/ponchocare/pp-php/blob/master/docs/client/updatePaymentMethod.md): This method allows to change the Payment Method properties.
- [refundPaymentMethod](https://github.com/ponchocare/pp-php/blob/master/docs/client/refundPaymentMethod.md): This method allows to fully or partially refund a Payment Method.
- [cancelPayment](https://github.com/ponchocare/pp-php/blob/master/docs/client/cancelPayment.md): This method allows to cancel a Payment.
- [cancelRecursion](https://github.com/ponchocare/pp-php/blob/master/docs/client/cancelRecursion.md): This method allows to cancel a Recurring Payment.

Development
-----------

[](#development)

### Linting and formatting

[](#linting-and-formatting)

To automatically fix linting and formatting errors, run

```
composer exec php-cs-fixer fix .
```

### Testing

[](#testing)

To ensure the project is bug-free, run

```
composer exec phpunit tests/
```

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance89

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~184 days

Recently: every ~200 days

Total

6

Last Release

54d ago

PHP version history (2 changes)1.0.0PHP ~7.0 || ~8.0

1.4.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/15752fdcec289685100a77dd099d622612491eb2bf08068d723a2b839a0d8b4f?d=identicon)[pp-carlos](/maintainers/pp-carlos)

---

Top Contributors

[![carlosV2](https://avatars.githubusercontent.com/u/2642839?v=4)](https://github.com/carlosV2 "carlosV2 (27 commits)")[![benjijed](https://avatars.githubusercontent.com/u/46683608?v=4)](https://github.com/benjijed "benjijed (6 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ponchopay-pp-php/health.svg)

```
[![Health](https://phpackages.com/badges/ponchopay-pp-php/health.svg)](https://phpackages.com/packages/ponchopay-pp-php)
```

###  Alternatives

[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[forumify/forumify-platform

121.8k11](/packages/forumify-forumify-platform)

PHPackages © 2026

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