PHPackages                             sinarajabpour1998/gateway - 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. sinarajabpour1998/gateway

ActiveLibrary

sinarajabpour1998/gateway
=========================

v1.5.2(4y ago)021MITPHPPHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.\*

Since Aug 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sinarajabpour1998/gateway)[ Packagist](https://packagist.org/packages/sinarajabpour1998/gateway)[ RSS](/packages/sinarajabpour1998-gateway/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (9)Used By (0)

Laravel Payment Package For Iranian Bank Gateways
=================================================

[](#laravel-payment-package-for-iranian-bank-gateways)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7f5873ab887b3aea481a1fa103448e4e972e4fb90ad8afb2d289c533ae5dcab4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696e6172616a6162706f7572313939382f7472616e73616374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sinarajabpour1998/gateway)[![GitHub issues](https://camo.githubusercontent.com/1f623fbf2791fbd415d37911e597dc7a618932c788aa013c5d5d437efc050fb8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f73696e6172616a6162706f7572313939382f676174657761793f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/gateway/issues)[![GitHub stars](https://camo.githubusercontent.com/ab05c2a4122ef15b1d4a91f8fcecb106ae1d81ed2f1e6dd5afc188a316b78c92/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f73696e6172616a6162706f7572313939382f676174657761793f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/gateway/stargazers)[![GitHub forks](https://camo.githubusercontent.com/b3e0f6896c4c9ae0256ace6e534a3bc760fa840b10919a4fa495775721077454/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f73696e6172616a6162706f7572313939382f676174657761793f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/gateway/network)[![Total Downloads](https://camo.githubusercontent.com/45b6ca22d8068e71d28ebbcbaad2194b6e8f0f143c069450e2d3c89ec844f8a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696e6172616a6162706f7572313939382f676174657761792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sinarajabpour1998/gateway)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/076e2e34c12180fc66a2a9b1074cb2944a192c15fbafd74b60070be053570207/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696e6172616a6162706f7572313939382f676174657761792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sinarajabpour1998/gateway/?branch=master)[![Build Status](https://camo.githubusercontent.com/06f6bc49cc06c76b03c2c08d7c7f1df940923ef35959139d25f257810c3a7463/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696e6172616a6162706f7572313939382f676174657761792f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sinarajabpour1998/gateway/build-status/master)[![GitHub license](https://camo.githubusercontent.com/0f0007d2d7dc810de2bb016b84cac2e5c29e8f79c333d047ff71da998b3a5349/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73696e6172616a6162706f7572313939382f676174657761793f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/gateway/blob/master/LICENSE)

A Laravel Package for Payment Gateway Integration.

💎 List of available drivers
---------------------------

[](#-list-of-available-drivers)

- [parsian](https://www.pec.ir/)
- [pasargad](https://bpi.ir/)
- [vandar](https://vandar.io/)
- [poolam](https://poolam.ir/fa/)

How to install and config [sinarajabpour1998/gateway](https://github.com/sinarajabpour1998/gateway) package?
------------------------------------------------------------------------------------------------------------

[](#how-to-install-and-config-sinarajabpour1998gateway-package)

#### ⬇️ Installation

[](#️-installation)

```
composer require sinarajabpour1998/gateway
```

#### Publish Config file

[](#publish-config-file)

```
php artisan vendor:publish --tag=gateway
```

#### Migrate tables, to add transactions table to database

[](#migrate-tables-to-add-transactions-table-to-database)

```
php artisan migrate
```

#### 📖 How to use exists drivers from package

[](#-how-to-use-exists-drivers-from-package)

- Set the configs in /config/gateway.php

    - Use this sample code for Request Payment

        ```
