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

ActiveLibrary[Payment Processing](/categories/payments)

aqayepardakht/php-sdk
=====================

1.3.0(1y ago)06932PHP

Since Nov 23Pushed 1y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (6)Used By (2)

sdk اتصال به api پرداخت آقای پرداخت

نحوه نصب
--------

[](#نحوه-نصب)

نصب توسط کامپوزر

```
composer require aqayepardakht/php-sdk
```

نحوه استفاده سریع
-----------------

[](#نحوه-استفاده-سریع)

ساخت فاکتور و ارسال به درگاه بانکی

```
require 'vendor/autoload.php';

$api = new Aqayepardakht\PhpSdk\Api([
     'pin'     => 'Your Pin',
]);

try {
    $pay = $api->gateway()
                ->invoice(['amount' => 500])
                ->callback('Your Callback')
                ->create();

    $traceCode = $pay->getTraceCode(); // دریافت کد رهگیری
    $pay->start(); // ریدایرکت کاربر به صفحه پرداخت
} catch (Exception $e) {
    echo $e->getCode().' : '.$e->getMessage();
}
```

تایید تراکنش پس از بازگشت از صفحه بانکی

```
require 'vendor/autoload.php';

$trackingNumber = $_POST['tracking_number']; // کد رهگیری بانکی
$traceCode      = $_POST['transid']; // کد رهگیری برای تایید تراکنش
$api            = new Aqayepardakht\PhpSdk\Api();

try {
    $pay = $api->gateway('Your Pin')
                ->invoice(['amount' => 1100])
                ->verify($traceCode);
} catch (Exception $e) {
    echo $e->getCode().' : '.$e->getMessage();
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

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

Total

5

Last Release

593d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/aqayepardakht-php-sdk/health.svg)](https://phpackages.com/packages/aqayepardakht-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/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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