PHPackages                             alive2212/laravel-parsian-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. alive2212/laravel-parsian-payment

ActiveLibrary[Payment Processing](/categories/payments)

alive2212/laravel-parsian-payment
=================================

This is Parsian bank payment package for laravel developers

v3.0.0(5y ago)1561MITPHP

Since Nov 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Alive2212/LaravelParsianPayment)[ Packagist](https://packagist.org/packages/alive2212/laravel-parsian-payment)[ Docs](https://github.com/alive2212/laravelparsianpayment)[ RSS](/packages/alive2212-laravel-parsian-payment/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

LaravelParsianPayment
=====================

[](#laravelparsianpayment)

[![Latest Version on Packagist](https://camo.githubusercontent.com/465a4e2f257b35651b1abc2db8bb01079a151e9641f4dc51f09027c0ff18b671/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c697665323231322f6c61726176656c7061727369616e7061796d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alive2212/laravelparsianpayment)[![Total Downloads](https://camo.githubusercontent.com/9d2f491452d8f2d303d579bb729a53bd4d6eb990ad76193957b39ec018900816/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c697665323231322f6c61726176656c7061727369616e7061796d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alive2212/laravelparsianpayment)[![Build Status](https://camo.githubusercontent.com/4587e7777691a6c0f80579cc00d7904baae84d20f8ad44248e42d0683c4e31aa/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616c697665323231322f6c61726176656c7061727369616e7061796d656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/alive2212/laravelparsianpayment)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This is Parsian Bank IPG Payment Package that work with soap services. This package contain from:

- Routes (init payment &amp; confirm payment)
- Controller
- Job (to dispatch when any payment confirmed)
- Setting

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

[](#installation)

Via Composer

```
$ composer require alive2212/laravel-parsian-payment
```

add following app.php in config file

```
'providers'=>[
    ...

    /*
     *  add parsian payment service provider
     */
    Alive2212\LaravelParsianPayment\LaravelParsianPaymentServiceProvider::class,

    ...
]
```

```
php artisan vendor:publish --tag laravel-parsian-payment.config
php artisan vendor:publish --tag laravel-parsian-payment.lang
php artisan vendor:publish --tag laravel-parsian-payment.job
php artisan parsian_payment:init
```

Add following into one service provider like 'RouteServiceProvider'

```
LaravelParsianPayment::routes(null,['middleware'=>'web']);
```

if you not use any default middleware for this package routes you can just use following

```
LaravelParsianPayment::routes();
```

Usage
-----

[](#usage)

After installation you can see following routs with `php artisan route:list`

```
POST: {your base url}/api/v1/custom/alive/parsian/payment/init
POST: {your base url}/api/v1/custom/alive/parsian/payment/confirm
RESOURCE (CRUD Full): {your base url}/api/v1/alive/parsian/payment

```

At first you should use `init` api for init payment for use it put following into Header

- Authorization
- Accept

And put following into body of request

- amount:{int value}

You should set `callback` URL into laravel-parsian-payment like following 'callback' =&gt; '{{base-url}}/api/v1/custom/alive/parsian/payment/confirm'

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

[](#change-log)

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

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [author name](https://github.com/alive2212)
- [All Contributors](../../contributors%5D)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~0 days

Total

6

Last Release

2134d ago

Major Versions

v1.0.10 → v3.0.02020-07-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/096cb0a90e1515fd7369bc03f9c36ce1cd55b64c3ac777400ea3997c28de83cc?d=identicon)[Alive2212](/maintainers/Alive2212)

---

Top Contributors

[![Alive2212](https://avatars.githubusercontent.com/u/5178290?v=4)](https://github.com/Alive2212 "Alive2212 (22 commits)")

---

Tags

laravelLaravelParsianPayment

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alive2212-laravel-parsian-payment/health.svg)

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

###  Alternatives

[laraveldaily/laravel-invoices

Missing invoices for Laravel

1.5k1.3M4](/packages/laraveldaily-laravel-invoices)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)[asciisd/knet

Knet package is provides an expressive, fluent interface to KNet's payment services.

141.1k](/packages/asciisd-knet)

PHPackages © 2026

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