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

ActiveLibrary[Payment Processing](/categories/payments)

sipay-tr/sipay-php-sdk
======================

PHP SDK for the Sipay API

v1.0.0(11mo ago)0562↓45%2[2 PRs](https://github.com/sipay-tr/sipay-php-sdk/pulls)MITPHPPHP &gt;=7.4.0CI passing

Since May 23Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/sipay-tr/sipay-php-sdk)[ Packagist](https://packagist.org/packages/sipay-tr/sipay-php-sdk)[ Docs](https://www.sipay.com.tr)[ RSS](/packages/sipay-tr-sipay-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Sipay Payments PHP-SDK
======================

[](#sipay-payments-php-sdk)

Sipay, is a payment gateway that provides a secure and easy-to-use payment infrastructure.

This package is a PHP SDK for the Sipay API.

> **Important:**This package is still in development. Please use it with caution and report any issues you encounter.

Requirements
============

[](#requirements)

- PHP 7.4+
- ext-curl, ext-json, ext-openssl extensions

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

[](#installation)

Run the following command under your project to install the package via [Composer](https://getcomposer.org/download/)

```
composer require sipay-tr/sipay-php-sdk
```

Getting Started
---------------

[](#getting-started)

You can create a new instance of the Sipay class by passing the required parameters to the constructor. You can find the required parameters in the sample code below.

```
$sipayOptions = new \Sipay\SipayOptions(
    '',
    '',
    '',
    '',
    'https://app.sipay.com.tr/ccpayment'
);
$sipay = new Sipay($sipayOptions);
```

> **Note:**For Test API server and credentials, you can check the [Sipay API Documentation](https://apidocs.sipay.com.tr/#tag/Erisim-URL'leri)

Examples
--------

[](#examples)

Included in the project are a number of examples that cover almost all use-cases. Refer to the `samples` folder for more info.

Testing
-------

[](#testing)

You can run the tests as following command below:

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

To run a test file, you can use the following example command:

```
.vendor/bin/phpunit tests/Sipay/Resources/TokenTest.php
```

To run a test method in test file, you can use the following example command:

```
./vendor/bin/phpunit --filter testRetrieveWithSuccessfulResponse tests/Sipay/Resources/CardListTest.php
```

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance68

Regular maintenance activity

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

351d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/176010752?v=4)[Sipay Elektronik Para ve Ödeme Hizmetleri A.Ş](/maintainers/sipay-tr)[@sipay-tr](https://github.com/sipay-tr)

---

Top Contributors

[![semihkeskindev](https://avatars.githubusercontent.com/u/32278879?v=4)](https://github.com/semihkeskindev "semihkeskindev (2 commits)")

---

Tags

php-sdksipaysipay-sdksipaysipay phpsipay api phpsipay sdksipay api sdksipay api php clientsipay api sdk clientsipay php sdksipay payment gateway

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/braintree

Braintree gateway for Omnipay payment processing library

35558.0k3](/packages/omnipay-braintree)

PHPackages © 2026

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