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

ActiveLibrary[API Development](/categories/api)

paypro/paypro-php
=================

PayPro PHP library

1.2.0(4mo ago)0583↑130.8%MITPHPPHP ^7.2|^8.0CI passing

Since May 10Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/paypronl/paypro-php)[ Packagist](https://packagist.org/packages/paypro/paypro-php)[ Docs](https://www.paypro.nl)[ RSS](/packages/paypro-paypro-php/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (3)Versions (11)Used By (0)

PayPro PHP Library
==================

[](#paypro-php-library)

[![build](https://github.com/paypronl/paypro-php/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/paypronl/paypro-php/actions/workflows/ci.yml)[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

The PayPro PHP library can be used to make integrating with the PayPro API easier when using PHP. It provides easy to use classes to interact with all resources available through the API.

It also provides the following:

- Built-in pagination support
- Easy configuration
- Webhook request verification helpers

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

[](#requirements)

- PHP &gt;= 7.2

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

[](#installation)

### Composer

[](#composer)

You can install the library through [Composer](https://getcomposer.org/)

```
composer require paypro/paypro-php
```

To use the library, use Composer to autoload:

```
require_once 'vendor/autoload.php';
```

### Manually

[](#manually)

If you don't use Composer you can download the files from GitHub. To use the libary require the `init.php` file

```
require_once '/path/to/paypro-php/init.php';
```

Dependencies
------------

[](#dependencies)

The library requires the following dependencies:

- [curl](https://secure.php.net/manual/en/book.curl.php)
- [json](https://secure.php.net/manual/en/book.json.php)

Getting started
---------------

[](#getting-started)

In order to use the API you need to have a valid API key. You can find your API key in the [PayPro dashboard](https://app.paypro.nl/developers/api-keys)

Example of using the API:

```
$paypro = new \PayPro\Client('pp_...');

# Creating a payment
$payment = $paypro->payments->create(['amount' => 500, 'currency' => 'EUR', 'description' => 'Test Payment']);

# Retrieving all subscriptions
$subscriptions = $paypro->subscriptions->list();

# Retrieving a single customer
$customer = $paypro->customers->get('CUSSDGDCJVZH5K');
```

Using a different endpoint
--------------------------

[](#using-a-different-endpoint)

To use a different endpoint (default: `https://api.paypro.nl`) you can create the client in the following way:

```
$paypro = new \PayPro\Client(['api_url' => 'https://api-test.paypro.nl', 'api_key' => 'pp_...']);
```

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

[](#development)

If you want to contribute to this project you can fork the repository. Create a new branch, add your feature and create a pull request. We will look at your request and determine if we want to add it.

To run all the tests with [PHPUnit](https://phpunit.de/):

```
./vendor/bin/phpunit
```

To run the [code formatter](https://cs.symfony.com/):

```
./vendor/bin/php-cs-fixer fix -v .
```

To analyze the code with [PHPStan](https://phpstan.org/)

```
./vendor/bin/phpstan analyse lib
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance76

Regular maintenance activity

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.5% 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 ~273 days

Total

3

Last Release

132d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7007dfc4bbaeb197797c731f7ccdad66943b8c326f13a09d16c41f41a2cda523?d=identicon)[PayPro](/maintainers/PayPro)

---

Top Contributors

[![paypro-leon](https://avatars.githubusercontent.com/u/13639105?v=4)](https://github.com/paypro-leon "paypro-leon (39 commits)")[![anastasiabalaban](https://avatars.githubusercontent.com/u/29507358?v=4)](https://github.com/anastasiabalaban "anastasiabalaban (1 commits)")

---

Tags

apipayment processingpaypro

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[ebanx/ebanx

EBANX PHP library

24642.6k](/packages/ebanx-ebanx)[pay-now/paynow-php-sdk

PHP client library for accessing Paynow API

18186.4k2](/packages/pay-now-paynow-php-sdk)[everypay/everypay-php

1741.3k](/packages/everypay-everypay-php)

PHPackages © 2026

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