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

ActiveLibrary[API Development](/categories/api)

nayax/php-sdk
=============

Nayax API integration via php

1.2(4y ago)3955PHP

Since Jun 8Pushed 4y agoCompare

[ Source](https://github.com/nayax/php-sdk)[ Packagist](https://packagist.org/packages/nayax/php-sdk)[ RSS](/packages/nayax-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Nayax PHP SDK
=============

[](#nayax-php-sdk)

install like a local composer package or just copy files
--------------------------------------------------------

[](#install-like-a-local-composer-package-or-just-copy-files)

example form is given
---------------------

[](#example-form-is-given)

min php version: 5.6
--------------------

[](#min-php-version-56)

example in folders
------------------

[](#example-in-folders)

```
    $merchantId = '{{ your merchant id }}';
    $hashCode = '{{ your hash code }}';

    $adapter = new Adapter($merchantId, $hashCode);

    // to get redirect url $redirectUrl
    $redirectUrl = $adapter->initiatePayment([
       'amount' => 1.23,
       'currency' => 'ACP', // for list of currencies view the website documentation
       'orderId' => uniqid(), // your system order id
       'methodCode' => 'visa', // what payment method to use
       'redirectUrl' => '{{ your redirect page}}',
       'notificationUrl' => '{{ your notification page}}',
    ]);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~15 days

Total

3

Last Release

1820d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf80cf4e6d64b4e2bdc24f74a4ecf37c239a3919d6384fb1beadfc9963088e79?d=identicon)[serjoagronov](/maintainers/serjoagronov)

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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