PHPackages                             maryamnbyn/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. [Payment Processing](/categories/payments)
4. /
5. maryamnbyn/vandar-laravel

ActiveLibrary[Payment Processing](/categories/payments)

maryamnbyn/vandar-laravel
=========================

Laravel Library for Vandar Gateway

v1.1.3(5y ago)12.1k41proprietaryPHP

Since Oct 22Pushed 4y agoCompare

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

READMEChangelogDependencies (1)Versions (7)Used By (1)

Vandar Laravel Package
======================

[](#vandar-laravel-package)

This Laravel package allows you to connect to Vandar payment services. See vandar.io for more info.

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

[](#installation)

This package can be installed through Laravel:

```
composer require maryamnbyn/vandar-laravel
```

Add vandar configuration to `config/services.php`:

```
 'vandar' => [
        'api' => 'your api key',
        'test' => false
    ]
```

You can get your api key at Vandar Dashboard

Usage
-----

[](#usage)

In every class where Vandar is used, you need to use the Vandar facade:

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

Then, the payment requests can be sent like this:

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

Further information on the responses is available on [Vandar Documentation](https://docs.vandar.io), but keep in mind that you need to store the `$result['token']` to verify the payment later on.

After this, you may redirect the user to the payment service using one of these methods, note that token is optional:

```
Vandar::redirect($token);
Vandar::redirectUrl($token);
```

After the user made the payment, Vandar will redirect the user to the callback specified above with a token in url. you can verify payment by passing the token to the `verify` method:

```
$token=$_GET['token']; // You can also use $request->get('token') in the scope of a laravel controller
$result = Vandar::verify($token);
```

for get info of transaction you can make requestInfo method and send token for that then you can get information ;
To get updates on any transactions you may have created, you may use the `requestInfo` method along with the token you stored:

```
$result = Vandar::requestInfo($token);
```

Contribution
------------

[](#contribution)

Pull-requests fixing bugs or adding to the documentation are very appreciated!

License
-------

[](#license)

This project is licensed under the GPL-3, see LICENSE for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

1881d ago

### Community

Maintainers

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

---

Top Contributors

[![rfmhb2](https://avatars.githubusercontent.com/u/16733920?v=4)](https://github.com/rfmhb2 "rfmhb2 (13 commits)")[![maryamnbyn](https://avatars.githubusercontent.com/u/47553919?v=4)](https://github.com/maryamnbyn "maryamnbyn (12 commits)")[![MikeMazalahi](https://avatars.githubusercontent.com/u/21097871?v=4)](https://github.com/MikeMazalahi "MikeMazalahi (4 commits)")[![MHM5000](https://avatars.githubusercontent.com/u/2694949?v=4)](https://github.com/MHM5000 "MHM5000 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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