PHPackages                             pinvandaag/pin-php-sdk - 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. pinvandaag/pin-php-sdk

ActiveLibrary[API Development](/categories/api)

pinvandaag/pin-php-sdk
======================

PinVandaag REST API V2 PHP SDK

v1.0.9(1mo ago)02MITPHPPHP &gt;=8.0

Since Apr 17Pushed 1mo agoCompare

[ Source](https://github.com/Pin-Voordeel-Bv/pinvandaag-pin-php-sdk)[ Packagist](https://packagist.org/packages/pinvandaag/pin-php-sdk)[ RSS](/packages/pinvandaag-pin-php-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)DependenciesVersions (11)Used By (0)

### Usage example

[](#usage-example)

```
use PinVandaag\Client;
use PinVandaag\Services\Transactions;

require 'vendor/autoload.php';

$client = new Client("API_KEY", "TERMINAL_ID");

// Optional backup API
// $client->setBaseUrl("https://api-backup.pinvandaag.com");

$transactions = new Transactions($client);

// Create €0.01
$response = $transactions->createEuro(0.01);

$transactionId = $response['transaction_id'] ?? null;

if ($transactionId) {
    $status = $transactions->status($transactionId);

    if ($status['normalizedStatus'] === 'success') {
        echo "Payment OK";
    }
}

```

### Usage webhook

[](#usage-webhook)

```
use PinVandaag\Client;
use PinVandaag\Webhook\WebhookHandler;

require 'vendor/autoload.php';

$client = new Client("API_KEY", "TERMINAL_ID");

$handler = new WebhookHandler($client);
$handler->handle();

```

### Usage CTMP

[](#usage-ctmp)

```
use PinVandaag\Client;
use PinVandaag\CTMP;

$client = new Client($apiKey, $terminalId);
$ctmp = new CTMP($client, 'Worldline');

$result = $ctmp->send();

if ($result['status'] === 'success') {
    echo $result['message'];
} else {
    echo $result['message'];
}

```

### Usage TransactionsList

[](#usage-transactionslist)

```
// get some transactions
use PinVandaag\Client;
use PinVandaag\TransactionsList;

$client = new Client($apiKey, $terminalId);

$transactionsList = new TransactionsList($client);

$result = $transactionsList->get(
    100,
    1,
    strtotime('2026-04-14 00:00:00'),
    strtotime('2026-04-14 23:59:59')
);

print_r($result);

// get all transactions
$result = $transactionsList->getAll(
    100,
    strtotime('2026-04-14 00:00:00'),
    strtotime('2026-04-14 23:59:59')
);

```

### Usage LastTransaction

[](#usage-lasttransaction)

```
use PinVandaag\Client;
use PinVandaag\LastTransaction;

$client = new Client($apiKey, $terminalId);
$lastTransaction = new LastTransaction($client);

$result = $lastTransaction->get();

if ($result['status'] === 'success') {
    print_r($result['transaction']);
} else {
    echo $result['message'];
}

```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

10

Last Release

48d ago

### Community

Maintainers

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

---

Top Contributors

[![NouddeBrouwer](https://avatars.githubusercontent.com/u/216495039?v=4)](https://github.com/NouddeBrouwer "NouddeBrouwer (14 commits)")

### Embed Badge

![Health badge](/badges/pinvandaag-pin-php-sdk/health.svg)

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

###  Alternatives

[facebook/php-business-sdk

PHP SDK for Facebook Business

90923.5M35](/packages/facebook-php-business-sdk)[exsyst/swagger

A php library to manipulate Swagger specifications

35916.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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