PHPackages                             rfmhb2/vandar-laravel - 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. [API Development](/categories/api)
4. /
5. rfmhb2/vandar-laravel

ActiveLibrary[API Development](/categories/api)

rfmhb2/vandar-laravel
=====================

laravel library for vandar gateway

v1.1.1(5y ago)85.0k9proprietaryPHP

Since Oct 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rfmhb2/vandar-laravel)[ Packagist](https://packagist.org/packages/rfmhb2/vandar-laravel)[ RSS](/packages/rfmhb2-vandar-laravel/feed)WikiDiscussions master Synced yesterday

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

vandar-laravel
==============

[](#vandar-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/2dcf3295962d331cc132cff2f0a792765d77606eddb41c5c1146ea5300f7f914/68747470733a2f2f706f7365722e707567782e6f72672f72666d6862322f76616e6461722d6c61726176656c2f76)](//packagist.org/packages/rfmhb2/vandar-laravel) [![Total Downloads](https://camo.githubusercontent.com/721249e3bf9cce88e3eb2847a958e5deed126824067c5f5ca5ec020ca5e5a984/68747470733a2f2f706f7365722e707567782e6f72672f72666d6862322f76616e6461722d6c61726176656c2f646f776e6c6f616473)](//packagist.org/packages/rfmhb2/vandar-laravel) [![CircleCI Build](https://camo.githubusercontent.com/43dd33d0cce12f34f14a23a2ffefbecd42637f280f7ea4707645d2bde3c18631/68747470733a2f2f706f7365722e707567782e6f72672f72666d6862322f76616e6461722d6c61726176656c2f636972636c656369)](//packagist.org/packages/rfmhb2/vandar-laravel) [![License](https://camo.githubusercontent.com/586eab4140ea6a189595c60ddb9433afa35cb52d5458399ef36276e724221957/68747470733a2f2f706f7365722e707567782e6f72672f72666d6862322f76616e6461722d6c61726176656c2f6c6963656e7365)](//packagist.org/packages/rfmhb2/vandar-laravel)

laravel library for vandar gateway

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

[](#installation)

### step 1

[](#step-1)

run this command :
`composer require rfmhb2/vandar-laravel`

### step 2

[](#step-2)

add this to `config/services.php`

```
 'vandar' => [
        'api' => '6cc20e798ba30a2f352c0bf7ebfed11158af14b7',
        'test' => false
    ]
```

you can find your api in [vandar dashboard](https://dash.vandar.io).

Usage
-----

[](#usage)

Before you begin, add this code to the top of the class

```
use Vandar\Laravel\Facade\Vandar;
```

Then, you most send payment request like this

```
$result = Vandar::request($amount, $callback, $mobile = null, $factorNumber = null, $description = null)
```

and save `$result['token']` for verify payment.
now you can redirect user to gateway

```
Vandar::redirect();
//or
Vandar::redirectUrl();
```

After user made payment, vandar redirect user to `$callback` with a token in url. you can verify payment by pass token to verify method like this

```
$token=$_GET['token'];
$result = Vandar::verify($token);
```

> you can read more about responses and api [here](https://docs.vandar.io/).

bug report
----------

[](#bug-report)

if you find a bug add [issue](https://github.com/rfmhb2/vandar-laravel/issues)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~139 days

Total

3

Last Release

2115d ago

### Community

Maintainers

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

---

Top Contributors

[![rfmhb2](https://avatars.githubusercontent.com/u/16733920?v=4)](https://github.com/rfmhb2 "rfmhb2 (14 commits)")[![arbazargani](https://avatars.githubusercontent.com/u/46598928?v=4)](https://github.com/arbazargani "arbazargani (1 commits)")[![MHM5000](https://avatars.githubusercontent.com/u/2694949?v=4)](https://github.com/MHM5000 "MHM5000 (1 commits)")

---

Tags

composer-libraryiran-paymentiranianlaravel-packagemade-in-iranpayment-gateway

### Embed Badge

![Health badge](/badges/rfmhb2-vandar-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/rfmhb2-vandar-laravel/health.svg)](https://phpackages.com/packages/rfmhb2-vandar-laravel)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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