PHPackages                             shetabit/payment - 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. shetabit/payment

ActiveLibrary[Payment Processing](/categories/payments)

shetabit/payment
================

Laravel Payment Gateway Integration Package

v6.3.0(9mo ago)944330.1k↓40.9%151[19 issues](https://github.com/shetabit/payment/issues)[1 PRs](https://github.com/shetabit/payment/pulls)5MITPHPPHP ^8.0

Since Feb 21Pushed 2mo ago26 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (60)Used By (5)

[![](resources/images/payment.png?raw=true)](resources/images/payment.png?raw=true)

Laravel Payment Gateway
=======================

[](#laravel-payment-gateway)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Latest Version on Packagist](https://camo.githubusercontent.com/70434e9d319f2c8287a85e485e5a1f7f393f9d0bb906824e480ba60ae7cfe466/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73686574616269742f7061796d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shetabit/payment)[![Total Downloads on Packagist](https://camo.githubusercontent.com/ec10d773fd881dbc17e7a06d30a59bddf5438bd39c04c0d8d026ac33dcecf754/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73686574616269742f7061796d656e742e7376673f636f6c6f723d253233463138267374796c653d666c61742d737175617265)](https://packagist.org/packages/shetabit/payment)[![StyleCI](https://camo.githubusercontent.com/989b01de4b424f9f244948dd6bbcfa58f982fb618289b5f44764d0fc2b0df546/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3136393934383736322f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/169948762)[![Maintainability](https://camo.githubusercontent.com/db454fba258cbdcfd594a3a0e7e849ba7844d11ac19dc083770ddb5756b71a30/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65366138306231373239386362346663623536642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/shetabit/payment/maintainability)[![Quality Score](https://camo.githubusercontent.com/3239e0201103bfe20b1fb590c3b59f7d2cf637cf5a0efcb19746f03b76c0a9b5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73686574616269742f7061796d656e742e7376673f6c6162656c3d436f64652532305175616c697479267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/shetabit/payment)

This is a Laravel Package for Payment Gateway Integration. This package supports `Laravel 5.8+`.

[Donate me](https://yekpay.me/mahdikhanzadi) if you like this package 😎 ![:bowtie:](https://github.githubassets.com/images/icons/emoji/bowtie.png ":bowtie:")

For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/multipay) package.

> This packages works with multiple drivers, and you can create custom drivers if you can't find them in the [current drivers list](#list-of-available-drivers) (below list).

- [داکیومنت فارسی](README-FA.md)
- [English documents](README.md)
- [中文文档](README-ZH.md)

List of contents
================

[](#list-of-contents)

- [Laravel Payment Gateway](#laravel-payment-gateway)
- [List of contents](#list-of-contents)
- [List of available drivers](#list-of-available-drivers)
    - [Install](#install)
    - [Configure](#configure)
    - [How to use](#how-to-use)
        - [Working with invoices](#working-with-invoices)
        - [Purchase invoice](#purchase-invoice)
        - [Pay invoice](#pay-invoice)
        - [Verify payment](#verify-payment)
        - [Useful methods](#useful-methods)
        - [Create custom drivers:](#create-custom-drivers)
        - [Events](#events)
    - [Change log](#change-log)
    - [Contributing](#contributing)
    - [Security](#security)
    - [Credits](#credits)
    - [License](#license)

List of available drivers
=========================

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

- [asanpardakht](https://asanpardakht.ir/) ✔️
- [aqayepardakht](https://aqayepardakht.ir/) ✔️
- [atipay](https://www.atipay.net/) ✔️
- [azkiVam (Installment payment)](https://www.azkivam.com/) ✔️
- [behpardakht (mellat)](http://www.behpardakht.com/) ✔️
- [bitpay](https://bitpay.ir/) ✔️
- [digipay](https://www.mydigipay.com/) ✔️
- [etebarino (Installment payment)](https://etebarino.com/) ✔️
- [fanavacard](https://www.fanava.com/) ✔️
- [irankish](http://irankish.com/) ✔️
- [local](#local-driver) ✔️
- [jibit](https://jibit.ir/) ✔️
- [nextpay](https://nextpay.ir/) ✔️
- [omidpay](https://omidpayment.ir/) ✔️
- [parsian](https://www.pec.ir/) ✔️
- [pasargad](https://bpi.ir/) ✔️
- [payfa](https://payfa.com/) ✔️
- [paypal](http://www.paypal.com/) (will be added soon in next version)
- [payping](https://www.payping.ir/) ✔️
- [paystar](http://paystar.ir/) ✔️
- [poolam](https://poolam.ir/) ✔️
- [rayanpay](https://rayanpay.com/) ✔️
- [sadad (melli)](https://sadadpsp.ir/) ✔️
- [saman](https://www.sep.ir) ✔️
- [sep (saman electronic payment) Keshavarzi &amp; Saderat](https://www.sep.ir) ✔️
- [sepehr (saderat)](https://www.sepehrpay.com/) ✔️
- [sepordeh](https://sepordeh.com/) ✔️
- [sizpay](https://www.sizpay.ir/) ✔️
- [toman](https://tomanpay.net/) ✔️
- [vandar](https://vandar.io/) ✔️
- [yekpay](https://yekpay.com/) ✔️
- [zarinpal](https://www.zarinpal.com/) ✔️
- [zibal](https://www.zibal.ir/) ✔️
- Others are under way.

**Help me to add the gateways below by creating `pull requests`**

- stripe
- authorize
- 2checkout
- braintree
- skrill
- payU
- amazon payments
- wepay
- payoneer
- paysimple

> you can create your own custom drivers if it does not exist in the list, read the `Create custom drivers` section.

Install
-------

[](#install)

Via Composer

```
composer require shetabit/payment
```

Publish Vendor Files
--------------------

[](#publish-vendor-files)

- **publish configuration files:**

```
php artisan vendor:publish --tag=payment-config
```

- **publish views for customization:**

```
php artisan vendor:publish --tag=payment-views
```

Configure
---------

[](#configure)

If you are using `Laravel 5.5` or higher then you don't need to add the provider and alias. (Skip to b)

a. In your `config/app.php` file add these two lines.

```
// In your providers array.
'providers' => [
    ...
    Shetabit\Payment\Provider\PaymentServiceProvider::class,
],

// In your aliases array.
'aliases' => [
    ...
    'Payment' => Shetabit\Payment\Facade\Payment::class,
],
```

b. In the config file you can set the `default driver` to use for all your payments. But you can also change the driver at runtime.

Choose what gateway you would like to use in your application. Then make that as default driver so that you don't have to specify that everywhere. But, you can also use multiple gateways in a project.

```
// Eg. if you want to use zarinpal.
'default' => 'zarinpal',
```

Then fill the credentials for that gateway in the drivers array.

```
'drivers' => [
    'zarinpal' => [
        // Fill in the credentials here.
        'apiPurchaseUrl' => 'https://www.zarinpal.com/pg/rest/WebGate/PaymentRequest.json',
        'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/',
        'apiVerificationUrl' => 'https://www.zarinpal.com/pg/rest/WebGate/PaymentVerification.json',
        'merchantId' => '',
        'callbackUrl' => 'http://yoursite.com/path/to',
        'description' => 'payment in '.config('app.name'),
    ],
    ...
]
```

How to use
----------

[](#how-to-use)

your `Invoice` holds your payment details, so initially we'll talk about `Invoice` class.

#### Working with invoices

[](#working-with-invoices)

before doing any thing you need to use `Invoice` class to create an invoice.

In your code, use it like the below:

```
// At the top of the file.
use Shetabit\Multipay\Invoice;
...

// Create new invoice.
$invoice = new Invoice;

// Set invoice amount.
$invoice->amount(1000);

// Add invoice details: There are 4 syntax available for this.
// 1
$invoice->detail(['detailName' => 'your detail goes here']);
// 2
$invoice->detail('detailName','your detail goes here');
// 3
$invoice->detail(['name1' => 'detail1','name2' => 'detail2']);
// 4
$invoice->detail('detailName1','your detail1 goes here')
        ->detail('detailName2','your detail2 goes here');
```

available methods:

- `uuid`: set the invoice unique id
- `getUuid`: retrieve the invoice current unique id
- `detail`: attach some custom details into invoice
- `getDetails`: retrieve all custom details
- `amount`: set the invoice amount
- `getAmount`: retrieve invoice amount
- `transactionId`: set invoice payment transaction id
- `getTransactionId`: retrieve payment transaction id
- `via`: set a driver we use to pay the invoice
- `getDriver`: retrieve the driver

#### Purchase invoice

[](#purchase-invoice)

In order to pay the invoice, we need the payment transactionId. We purchase the invoice to retrieve transaction id:

```
// At the top of the file.
use Shetabit\Multipay\Invoice;
use Shetabit\Payment\Facade\Payment;
...

// Create new invoice.
$invoice = (new Invoice)->amount(1000);

// Purchase the given invoice.
Payment::purchase($invoice,function($driver, $transactionId) {
	// We can store $transactionId in database.
});

// Purchase method accepts a callback function.
Payment::purchase($invoice, function($driver, $transactionId) {
    // We can store $transactionId in database.
});

// You can specify callbackUrl
Payment::callbackUrl('http://yoursite.com/verify')->purchase(
    $invoice,
    function($driver, $transactionId) {
    	// We can store $transactionId in database.
	}
);
```

#### Pay invoice

[](#pay-invoice)

After purchasing the invoice, we can redirect the user to the bank payment page:

```
// At the top of the file.
use Shetabit\Multipay\Invoice;
use Shetabit\Payment\Facade\Payment;
...

// Create new invoice.
$invoice = (new Invoice)->amount(1000);
// Purchase and pay the given invoice.
// You should use return statement to redirect user to the bank page.
return Payment::purchase($invoice, function($driver, $transactionId) {
    // Store transactionId in database as we need it to verify payment in the future.
})->pay()->render();

// Do all things together in a single line.
return Payment::purchase(
    (new Invoice)->amount(1000),
    function($driver, $transactionId) {
    	// Store transactionId in database.
        // We need the transactionId to verify payment in the future.
	}
)->pay()->render();

// Retrieve json format of Redirection (in this case you can handle redirection to bank gateway)
return Payment::purchase(
    (new Invoice)->amount(1000),
    function($driver, $transactionId) {
    	// Store transactionId in database.
        // We need the transactionId to verify payment in the future.
	}
)->pay()->toJson();
```

#### Verify payment

[](#verify-payment)

When user has completed the payment, the bank redirects them to your website, then you need to **verify your payment** in order to ensure the `invoice` has been **paid**.

```
// At the top of the file.
use Shetabit\Payment\Facade\Payment;
use Shetabit\Multipay\Exceptions\InvalidPaymentException;
...

// You need to verify the payment to ensure the invoice has been paid successfully.
// We use transaction id to verify payments
// It is a good practice to add invoice amount as well.
try {
	$receipt = Payment::amount(1000)->transactionId($transaction_id)->verify();

    // You can show payment referenceId to the user.
    echo $receipt->getReferenceId();

    ...
} catch (InvalidPaymentException $exception) {
    /**
    	when payment is not verified, it will throw an exception.
    	We can catch the exception to handle invalid payments.
    	getMessage method, returns a suitable message that can be used in user interface.
    **/
    echo $exception->getMessage();
}
```

#### Useful methods

[](#useful-methods)

- ###### `callbackUrl`: can be used to change callbackUrl on the runtime.

    [](#callbackurl-can-be-used-to-change-callbackurl-on-the-runtime)

    ```
    // At the top of the file.
    use Shetabit\Multipay\Invoice;
    use Shetabit\Payment\Facade\Payment;
    ...

    // Create new invoice.
    $invoice = (new Invoice)->amount(1000);

    // Purchase the given invoice.
    Payment::callbackUrl($url)->purchase(
        $invoice,
        function($driver, $transactionId) {
        // We can store $transactionId in database.
    	}
    );
    ```
- ###### `amount`: you can set the invoice amount directly

    [](#amount-you-can-set-the-invoice-amount-directly)

    ```
    // At the top of the file.
    use Shetabit\Multipay\Invoice;
    use Shetabit\Payment\Facade\Payment;
    ...

    // Purchase (we set invoice to null).
    Payment::callbackUrl($url)->amount(1000)->purchase(
        null,
        function($driver, $transactionId) {
        // We can store $transactionId in database.
    	}
    );
    ```
- ###### `via`: change driver on the fly

    [](#via-change-driver-on-the-fly)

    ```
    // At the top of the file.
    use Shetabit\Multipay\Invoice;
    use Shetabit\Payment\Facade\Payment;
    ...

    // Create new invoice.
    $invoice = (new Invoice)->amount(1000);

    // Purchase the given invoice.
    Payment::via('driverName')->purchase(
        $invoice,
        function($driver, $transactionId) {
        // We can store $transactionId in database.
    	}
    );
    ```
- ###### `config`: set driver configs on the fly

    [](#config-set-driver-configs-on-the-fly)

    ```
    // At the top of the file.
    use Shetabit\Multipay\Invoice;
    use Shetabit\Payment\Facade\Payment;
    ...

    // Create new invoice.
    $invoice = (new Invoice)->amount(1000);

    // Purchase the given invoice with custom driver configs.
    Payment::config('mechandId', 'your mechand id')->purchase(
        $invoice,
        function($driver, $transactionId) {
        // We can store $transactionId in database.
    	}
    );

    // Also we can change multiple configs at the same time.
    Payment::config(['key1' => 'value1', 'key2' => 'value2'])->purchase(
        $invoice,
        function($driver, $transactionId) {
        // We can store $transactionId in database.
    	}
    );
    ```

#### Create custom drivers:

[](#create-custom-drivers)

First you have to add the name of your driver, in the drivers array and also you can specify any config parameters you want.

```
'drivers' => [
    'zarinpal' => [...],
    'my_driver' => [
        ... // Your Config Params here.
    ]
]
```

Now you have to create a Driver Map Class that will be used to pay invoices. In your driver, You just have to extend `Shetabit\Payment\Abstracts\Driver`.

Eg. You created a class: `App\Packages\PaymentDriver\MyDriver`.

```
namespace App\Packages\PaymentDriver;

use Shetabit\Multipay\Abstracts\Driver;
use Shetabit\Multipay\Exceptions\InvalidPaymentException;
use Shetabit\Multipay\{Contracts\ReceiptInterface, Invoice, Receipt};

class MyDriver extends Driver
{
    protected $invoice; // Invoice.

    protected $settings; // Driver settings.

    public function __construct(Invoice $invoice, $settings)
    {
        $this->invoice($invoice); // Set the invoice.
        $this->settings = (object) $settings; // Set settings.
    }

    // Purchase the invoice, save its transactionId and finaly return it.
    public function purchase() {
        // Request for a payment transaction id.
        ...

        $this->invoice->transactionId($transId);

        return $transId;
    }

    // Redirect into bank using transactionId, to complete the payment.
    public function pay() {
        // It is better to set bankApiUrl in config/payment.php and retrieve it here:
        $bankUrl = $this->settings->bankApiUrl; // bankApiUrl is the config name.

        // Prepare payment url.
        $payUrl = $bankUrl.$this->invoice->getTransactionId();

        // Redirect to the bank.
        return redirect()->to($payUrl);
    }

    // Verify the payment (we must verify to ensure that user has paid the invoice).
    public function verify(): ReceiptInterface {
        $verifyPayment = $this->settings->verifyApiUrl;

        $verifyUrl = $verifyPayment.$this->invoice->getTransactionId();

        ...

        /**
			Then we send a request to $verifyUrl and if payment is not valid we throw an InvalidPaymentException with a suitable message.
        **/
        throw new InvalidPaymentException('a suitable message');

        /**
        	We create a receipt for this payment if everything goes normally.
        **/
        return new Receipt('driverName', 'payment_receipt_number');
    }
}
```

Once you create that class you have to specify it in the `payment.php` config file `map` section.

```
'map' => [
    ...
    'my_driver' => App\Packages\PaymentDriver\MyDriver::class,
]
```

**Note:-** You have to make sure that the key of the `map` array is identical to the key of the `drivers` array.

#### Events

[](#events)

You can listen for 2 events

- **InvoicePurchasedEvent**: Occurs when an invoice is purchased (after purchasing invoice is done successfully).
- **InvoiceVerifiedEvent**: Occurs when an invoice is verified successfully.

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

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has been changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Mahdi khanzadi](https://github.com/khanzadimahdi)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Star History
------------

[](#star-history)

[![Star History Chart](https://camo.githubusercontent.com/7f00d935a9d0b3e771d1640c9e1ca8bd24e732c40203476a7a1fddfb01ea9ea9/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d73686574616269742f7061796d656e7426747970653d44617465)](https://star-history.com/#shetabit/payment&Date)

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance71

Regular maintenance activity

Popularity59

Moderate usage in the ecosystem

Community41

Growing community involvement

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 66% 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 ~40 days

Total

59

Last Release

293d ago

Major Versions

v2.4.8 → v3.0.02020-06-13

v3.0.1 → v4.0.12020-09-03

v3.1.0 → v4.0.22021-01-20

v4.3.3 → v5.0.02023-02-27

v5.8.0 → v6.0.02025-02-26

PHP version history (3 changes)v1.0PHP &gt;=7.2

v6.0.0PHP &gt;=8.0

v6.2.0PHP ^8.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/9d73b855df70ba50a46d879126a3f32fb173d12ca3e778e0a72b7398cbef8a26?d=identicon)[shetabit](/maintainers/shetabit)

---

Top Contributors

[![khanzadimahdi](https://avatars.githubusercontent.com/u/6291970?v=4)](https://github.com/khanzadimahdi "khanzadimahdi (126 commits)")[![roshedgostarandev1](https://avatars.githubusercontent.com/u/52368299?v=4)](https://github.com/roshedgostarandev1 "roshedgostarandev1 (15 commits)")[![bahramsadin](https://avatars.githubusercontent.com/u/24217539?v=4)](https://github.com/bahramsadin "bahramsadin (7 commits)")[![hamog](https://avatars.githubusercontent.com/u/11465084?v=4)](https://github.com/hamog "hamog (5 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (4 commits)")[![parsagholipour](https://avatars.githubusercontent.com/u/57809920?v=4)](https://github.com/parsagholipour "parsagholipour (4 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (3 commits)")[![mobinzk](https://avatars.githubusercontent.com/u/2981528?v=4)](https://github.com/mobinzk "mobinzk (3 commits)")[![hos3ein](https://avatars.githubusercontent.com/u/6175800?v=4)](https://github.com/hos3ein "hos3ein (2 commits)")[![alikhosravidev](https://avatars.githubusercontent.com/u/49164621?v=4)](https://github.com/alikhosravidev "alikhosravidev (2 commits)")[![miladified](https://avatars.githubusercontent.com/u/50750755?v=4)](https://github.com/miladified "miladified (1 commits)")[![miladnouri](https://avatars.githubusercontent.com/u/3003901?v=4)](https://github.com/miladnouri "miladnouri (1 commits)")[![mohamadtsn](https://avatars.githubusercontent.com/u/61478011?v=4)](https://github.com/mohamadtsn "mohamadtsn (1 commits)")[![mohammadv184](https://avatars.githubusercontent.com/u/77800167?v=4)](https://github.com/mohammadv184 "mohammadv184 (1 commits)")[![mokhosh](https://avatars.githubusercontent.com/u/6499685?v=4)](https://github.com/mokhosh "mokhosh (1 commits)")[![mostafaznv](https://avatars.githubusercontent.com/u/7619687?v=4)](https://github.com/mostafaznv "mostafaznv (1 commits)")[![muhammadmp97](https://avatars.githubusercontent.com/u/17279395?v=4)](https://github.com/muhammadmp97 "muhammadmp97 (1 commits)")[![na3r](https://avatars.githubusercontent.com/u/760537?v=4)](https://github.com/na3r "na3r (1 commits)")[![Rayiumir](https://avatars.githubusercontent.com/u/11635923?v=4)](https://github.com/Rayiumir "Rayiumir (1 commits)")[![shdehnavi](https://avatars.githubusercontent.com/u/6625055?v=4)](https://github.com/shdehnavi "shdehnavi (1 commits)")

---

Tags

laravel-paymentlaravel-payment-gatepaymentpayment-gatewaypaymentgatewaypaypalBankpaypayment gatewayzarinpallaravel paypalshetabitPaylineshaparaksamanMelimellatpasargadparsiansadadjahanpaymellisaderatirankishsaderat payment gatewayjibitiranKish payment gatewayjahanPay payment gatewayjibit payment gatewaymellat payment gatewayparsian payment gatewaypasargad payment gatewaypay payment gatewaypayline payment gatewaysadad payment gatewaysaman payment gatewayzarinpal payment gatewayshaparak payment gatewaymeli payment gatewaypaypal payment gatewaylaravel payment packagelaravel payment gatewaylaravel iranKish packagelaravel iranKishlaravel jahanPay packagelaravel jahanPaylaravel jibit packagelaravel jibitlaravel mellat packagelaravel mellatlaravel parsian packagelaravel parsianlaravel pasargad packagelaravel pasargadlaravel pay packagelaravel paylaravel payline packagelaravel paylinelaravel sadad packagelaravel sadadlaravel saderat packagelaravel saderatlaravel saman packagelaravel samanlaravel zarinpal packagelaravel zarinpallaravel shaparak packagelaravel shaparaklaravel meli packagelaravel melilaravel paypal packagelaravel melli bank payment package

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/shetabit-payment/health.svg)

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

###  Alternatives

[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[larabook/gateway

A Laravel package for connecting to all Iraninan payment gateways

24553.7k](/packages/larabook-gateway)[parsisolution/gateway

A Laravel package for connecting to all Iraninan payment gateways

231.7k](/packages/parsisolution-gateway)

PHPackages © 2026

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