PHPackages                             emresari89/nestpay - 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. emresari89/nestpay

ActiveLibrary[Payment Processing](/categories/payments)

emresari89/nestpay
==================

Emsa payment processing library for PHP

v1.0.3(3y ago)057MITPHPPHP &gt;=7.1.3

Since May 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/emresari89/nestpay-php)[ Packagist](https://packagist.org/packages/emresari89/nestpay)[ RSS](/packages/emresari89-nestpay/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

###  Nestpay (EST)

[](#-nestpay-est)

Nestpay (A Bank, Ak Bank, Anadolu Bank, Finans Bank, Halk Bank, ING Bank, İş Bank, Şeker Bank, Türk Ekonomi Bank (TEB), Ziraat Bank) gateway for Emsa payment processing library

 [![](https://camo.githubusercontent.com/370168a4ca078b718858339e1b9e1b644bb06def0052044a8e0812b16fc56d40/68747470733a2f2f7472617669732d63692e636f6d2f656d72657361726938392f6e6573747061792d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/emresari89/nestpay-php)

---

**[Installation](#installation)**| **[Supported Methods](#supported-methods)**| **[Basic Usages](#basic-usages)**

---

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

[](#installation)

```
$ composer require emresari89/nestpay-php

```

Supported methods
-----------------

[](#supported-methods)

- purchase
- authorize
- complete
- refund
- cancel

Basic Usages
------------

[](#basic-usages)

```
use Emsa\Common\CreditCard;
use Emsa\Nestpay\Token;
use Emsa\Nestpay\Currency;
use Emsa\Nestpay\Model\Purchase;
use Emsa\Akbank;

$token = new Token('CLIENT_ID', 'USERNAME', 'PASS');
$creditCard = new CreditCard('4355084355084358', '26', '12', '000');
$purchase = new Purchase();
$purchase->setAmount(1);
$purchase->setInstallment(1);
$purchase->setCurrency(Currency::TRY);
$purchase->setCreditCard($creditCard);
$purchase->setTestMode(true);
$response = (AkBank($token))->purchase($purchase);
if($response->isSuccessful()){
    // success!
}
```

Change log
----------

[](#change-log)

Please see [UPGRADE](UPGRADE.md) for more information on how to upgrade to the latest version.

Support
-------

[](#support)

If you are having general issues with Emsa, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/emresari89/nestpay-php/issues), or better yet, fork the library and submit a pull request.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Every ~7 days

Total

4

Last Release

1428d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/625d948dfdb74217ac59c79830305425a519a42438be12b854f17930664313f1?d=identicon)[emresari89](/maintainers/emresari89)

---

Top Contributors

[![emresari89](https://avatars.githubusercontent.com/u/29493496?v=4)](https://github.com/emresari89 "emresari89 (5 commits)")

---

Tags

IsbankestnestpayingTEBabankanadolufinanshalksekerturkekonomiziraat

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/emresari89-nestpay/health.svg)

```
[![Health](https://phpackages.com/badges/emresari89-nestpay/health.svg)](https://phpackages.com/packages/emresari89-nestpay)
```

###  Alternatives

[mews/pos

Türk bankaları için sanal pos kütüphanesi

32414.6k1](/packages/mews-pos)

PHPackages © 2026

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