PHPackages                             zloter/przelewy24-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. [Payment Processing](/categories/payments)
4. /
5. zloter/przelewy24-php

ActiveLibrary[Payment Processing](/categories/payments)

zloter/przelewy24-php
=====================

Przelewy24 PHP library

0.0.1(5y ago)011MITPHPPHP &gt;=7.1.3

Since Sep 2Pushed 5y agoCompare

[ Source](https://github.com/zloter/przelewy24-php)[ Packagist](https://packagist.org/packages/zloter/przelewy24-php)[ Docs](https://github.com/zloter/przelewy24-php)[ RSS](/packages/zloter-przelewy24-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Przelewy24 PHP library
======================

[](#przelewy24-php-library)

PHP wrapper for [www.przelewy24.pl](https://www.przelewy24.pl/).

Usage
-----

[](#usage)

### Creating an instance

[](#creating-an-instance)

```
use Przelewy24\Przelewy24;

$przelewy24 = new Przelewy24([
    'merchant_id' => '12345',
    'crc' => 'aef0...',
    'mode' => 'sandbox', // live for production
]);
```

### Creating a transaction

[](#creating-a-transaction)

```
$transaction = $przelewy24->transaction([
    'session_id' => 'unique order identifier from your application',
    'url_return' => 'url to return to post transaction',
    'url_status' => 'url to which the transaction status webhook will be sent',
    'amount' => 'transaction amount as an integer (1.25 PLN = 125)',
    'description' => 'transaction description',
    'email' => 'buyer email address',
]);
```

Retrieve the transaction's token:

```
$transaction->token();
```

Retrieve the redirect URL to the payment gateway:

```
$transaction->redirectUrl();
```

### Listening for transaction status webhook

[](#listening-for-transaction-status-webhook)

```
$webhook = $przelewy24->handleWebhook();
```

### Verifying a transaction

[](#verifying-a-transaction)

```
$przelewy24->verify([
    'session_id' => 'unique order identifier from your application',
    'order_id' => $webhook->orderId(),   // przelewy24 order id
    'amount' => 'transaction amount as an integer (1.25 PLN = 125)',
]);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90% 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

Unknown

Total

1

Last Release

2078d ago

### Community

Maintainers

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

---

Top Contributors

[![mnastalski](https://avatars.githubusercontent.com/u/10223434?v=4)](https://github.com/mnastalski "mnastalski (9 commits)")[![zloter](https://avatars.githubusercontent.com/u/16211016?v=4)](https://github.com/zloter "zloter (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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