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 3w 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

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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

2132d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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