PHPackages                             rayanpay/rayan-gate - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. rayanpay/rayan-gate

ActiveLibrary[HTTP &amp; Networking](/categories/http)

rayanpay/rayan-gate
===================

The gateway is the interface between the acceptor and the bank payment gateways.

1.0.1(3y ago)0109MITPHP

Since Apr 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/apachish/rayan-gate)[ Packagist](https://packagist.org/packages/rayanpay/rayan-gate)[ Docs](https://github.com/apachish/rayan-gate)[ RSS](/packages/rayanpay-rayan-gate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

[![](https://camo.githubusercontent.com/63e169080d1b426c1c5a9b7233828739e89ce06cf97b40a078b1b0065867da0c/68747470733a2f2f7777772e726179616e6d6568722e636f2e69722f77702d636f6e74656e742f75706c6f6164732f323031392f31322f6c6f676f2e706e67)](https://www.rayanmehr.co.ir/)

[![Build Status](https://camo.githubusercontent.com/c59043e0b28eab034f19dabc49c9222c43e3fbe5e0c6bc2837a5c0086132a211/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f6672616d65776f726b2e737667)](https://travis-ci.org/laravel/framework)[![Total Downloads](https://camo.githubusercontent.com/b0a7ee2f3f0208712ecb1081b9d6fcf05045c10cd6f345abcb924f5512c0d346/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2f6672616d65776f726b)](https://packagist.org/packages/laravel/framework)[![Latest Stable Version](https://camo.githubusercontent.com/06193c3382003fd1fcdad9ddac69fff4f418f4f4964ec7f43708fc43d8dca511/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312d626c7565)](https://packagist.org/packages/laravel/framework)[![License](https://camo.githubusercontent.com/4a64c31c71966d152c876eea1f35e85fbd33d57ddf5754260a41f053aa72c5b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c61726176656c2f6672616d65776f726b)](https://packagist.org/packages/laravel/framework)

\##نحوه نصب

```
$ composer require rayanpay/rayan-gate

```

### تنظیمان لازم

[](#تنظیمان-لازم)

- فقط دقت داشته باشید شما برای اتصال به درگاه فروشگاه خود باید شناسه خود را با پارامتر `MERCHANTID` در فایل .env خود قرار دهید.
- همچنین نوع اتصال به سرور های رایان پی را با پارمتر `TYPEGATEWAY`

اتصال به درگاه پرداخت اینترنتی رایان پی
---------------------------------------

[](#اتصال-به-درگاه-پرداخت-اینترنتی-رایان-پی)

با استفاده از این پکیج می توانید به درگاه پرداخت اینترنتی رایان پی متصل شوید که برا استفاده از این پکیج می توانید مانند نمونه کد زیر اجرا کنید

```
Route::get('/payment', function () {
    $payment_request = new \Rayanpay\RayanGate\Objects\PaymentRequest();
    $payment_request->setDescription(json_encode(["name"=>"shahriar","lastname"=>"pahlevansadgh"]));
    $payment_request->setAmount( 15000);
    $payment_request->setEmail("rayanpay@gmail.com");
    $payment_request->setMobile( "989120308527");
    $result = \Rayanpay\RayanGate\Services\RayanPayServices::request($payment_request);
    if(data_get($result,"Status") == 100)
        \Rayanpay\RayanGate\Services\RayanPayServices::redirect(data_get($result,"StartPay"));
    return response()->json($result,200);
});

```

لاراول گسترده‌ترین و کامل‌ترین \[اسناد\] () و کتابخانه آموزشی ویدیویی را در بین تمام فریم‌ورک‌های کاربردی وب مدرن دارد که شروع کار با فریم‌ورک را آسان می‌کند.

اگر حوصله خواندن ندارید، [Laracasts](https://laracasts.com) می تواند کمک کند. Laracasts شامل بیش از 1500 آموزش ویدیویی در زمینه موضوعات مختلف از جمله لاراول، PHP مدرن، تست واحد و جاوا اسکریپت است. با جستجو در کتابخانه جامع ویدیویی ما، مهارت های خود را تقویت کنید.

آسیب پذیری های امنیتی
---------------------

[](#آسیب-پذیری-های-امنیتی)

اگر آسیب‌پذیری امنیتی در پکیج کشف کردید، لطفاً از طریق \[\] () یک ایمیل به شهریار پهلوان صادق ارسال کنید. تمام مشکلات به سرعت برطرف خواهد شد.

مجوز
----

[](#مجوز)

فریم ورک لاراول یک نرم افزار منبع باز است که تحت مجوز [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1215d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54353f44063ca1c991133d9ce8cc3c429ebbee2f82df630202996f1a65de4091?d=identicon)[apachish](/maintainers/apachish)

---

Top Contributors

[![apachish](https://avatars.githubusercontent.com/u/6897327?v=4)](https://github.com/apachish "apachish (6 commits)")

---

Tags

restsoappaymentBankgatewaysrayanpay

### Embed Badge

![Health badge](/badges/rayanpay-rayan-gate/health.svg)

```
[![Health](https://phpackages.com/badges/rayanpay-rayan-gate/health.svg)](https://phpackages.com/packages/rayanpay-rayan-gate)
```

###  Alternatives

[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[whatarmy/fedex-rest

New FedEx Rest API wrapper

2440.5k1](/packages/whatarmy-fedex-rest)

PHPackages © 2026

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