PHPackages                             ramomen/laravel-yapikredi-pos - 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. ramomen/laravel-yapikredi-pos

ActiveLibrary[Payment Processing](/categories/payments)

ramomen/laravel-yapikredi-pos
=============================

Laravel Yapı Kredi POS

070↓100%PHP

Since Jun 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ramomen/laravel-yapikredi-pos)[ Packagist](https://packagist.org/packages/ramomen/laravel-yapikredi-pos)[ RSS](/packages/ramomen-laravel-yapikredi-pos/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

YapiKrediPosLaravel
===================

[](#yapikrediposlaravel)

YapiKrediPosLaravel is a library that enables the integration of Yapı Kredi Posnet into Laravel projects.

This library utilizes the Yapı Kredi Posnet API to perform payment transactions.

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

[](#installation)

1. Install the library into your Laravel project using `composer`:

```
    composer require ramomen/laravel-yapikredi-pos
```

After the library is installed, you need to configure the following settings in your .env file:

```
YAPIKREDI_MERCHANT_ID=000000000000000
YAPIKREDI_TERMINAL_ID=00000000
YAPIKREDI_MODE=test

```

Note: The YAPIKREDI\_MODE setting can be set to either test or production. In the test mode, transactions will be performed in the test environment, while in the production mode, transactions will be performed in the live environment.

In the integration area, you can use the YapiKredi class. Here is an example usage:

```
use Ramomen\YapikrediPosLaravel\YapiKredi;

// Create an instance of YapiKredi and pass the Posnet instance as a parameter
$yapiKredi = new YapiKredi();

// Perform a sale transaction
$result = $yapiKredi->doSale(
    '1234567890123456', // Card number
    '1221', // Expiry date
    '123', // CVC
    'ABC123', // Order ID
    '100', // Amount
    'YT' // Currency
);

// Handle the result of the transaction
if ($result->status) {
    echo 'Transaction successful!' . PHP_EOL;
    echo 'Approval code: ' . $result->approvedCode . PHP_EOL;
    echo 'Activation code: ' . $result->activationCode . PHP_EOL;
    echo 'Mode: ' . $result->mode . PHP_EOL;
} else {
    echo 'Transaction failed!' . PHP_EOL;
    echo 'Error code: ' . $result->errorCode . PHP_EOL;
    echo 'Error message: ' . $result->posnetResponse . PHP_EOL;
    // You can access additional error details using $result->merchantInfo and $result->posnetResponseXMLData
}

```

Please note that the example above is just a demonstration, and you may need to adapt it to fit your specific integration requirements.

You can refer to the YapıKredi Posnet Documentation for error codes and more detailed information. This package is not official and does not have any affiliation with Yapı Kredi or Posnet. The names Yapı Kredi and Posnet are owned by Yapı ve Kredi Bankası A.Ş. All rights reserved.

Feel free to customize the README file as per your project's needs and provide additional information about the library, usage instructions, and any other relevant details.

###  Health Score

16

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/631337679d8cc44ba94de1e4e6aaf6f4969687acedff809ebcd1661645ac29a3?d=identicon)[ramomen](/maintainers/ramomen)

---

Top Contributors

[![ramomen](https://avatars.githubusercontent.com/u/45834008?v=4)](https://github.com/ramomen "ramomen (7 commits)")

### Embed Badge

![Health badge](/badges/ramomen-laravel-yapikredi-pos/health.svg)

```
[![Health](https://phpackages.com/badges/ramomen-laravel-yapikredi-pos/health.svg)](https://phpackages.com/packages/ramomen-laravel-yapikredi-pos)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3256.8M45](/packages/omnipay-paypal)[horstoeko/zugferd

A library for creating and reading european electronic invoices

3943.8M13](/packages/horstoeko-zugferd)[adyen/module-payment

Official Magento2 Plugin to connect to Payment Service Provider Adyen.

1643.0M6](/packages/adyen-module-payment)[tbbc/money-bundle

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

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

2Checkout PHP Library

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

Generate QR code data for SEPA payments

59682.3k5](/packages/smhg-sepa-qr-data)

PHPackages © 2026

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