PHPackages                             phuongdev89/omnipay-paydash - 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. phuongdev89/omnipay-paydash

ActiveLibrary[Payment Processing](/categories/payments)

phuongdev89/omnipay-paydash
===========================

Omnipay for paydash

059PHP

Since Mar 7Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay for Paydash
===================

[](#omnipay-for-paydash)

Omnipay for Paydash

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist phuongdev89/omnipay-paydash "*"

```

or add

```
"phuongdev89/omnipay-paydash": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

The following gateways are provided by this package:

- Paydash

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Example
-------

[](#example)

### Create payment url

[](#create-payment-url)

```
use Omnipay\Paydash\Gateway;
use Omnipay\Omnipay;

$command = Omnipay::create(Gateway::NAME);
$command->initialize([
    'apiKey' => '',
]);
$response = $command->purchase([
    'email'      => 'test@gmail.com',
    'amount'     => 10,
    'webhookURL' => 'https://domain.com/hook',
    'returnURL'  => 'https://domain.com/return?paymentId={paymentID}',
    'metadata'   => '', //your meta data, must be string & optional
])->send();
if($response->isSuccessful()){
    $redirectUrl = $response->getRedirectUrl();
    header("Location: $redirectUrl");
}
```

### Webhook payment

[](#webhook-payment)

```
use Omnipay\Paydash\Gateway;
use Omnipay\Omnipay;
$data = json_decode(file_get_contents('php://input'));
$command = Omnipay::create(Gateway::NAME);
$command->initialize([
    'apiKey' => '',
]);
$response = $command->webhook($data)->send();
if($response->isSuccessful()){
    //todo Paid
} else {
    echo $response->getMessage();
}
```

### Check status payment

[](#check-status-payment)

```
use Omnipay\Paydash\Gateway;
use Omnipay\Omnipay;
$command = Omnipay::create(Gateway::NAME);
$command->initialize([
    'apiKey' => '',
]);
$data = ['id'=>'{paydash_id}']; //that paymentId returned when create payment url
$response = $command->status($data)->send();
if($response->isPaid()){
    //todo Paid
} else {
    echo $response->getMessage();
}
```

Read more

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![phuongdev89](https://avatars.githubusercontent.com/u/7648033?v=4)](https://github.com/phuongdev89 "phuongdev89 (1 commits)")

### Embed Badge

![Health badge](/badges/phuongdev89-omnipay-paydash/health.svg)

```
[![Health](https://phpackages.com/badges/phuongdev89-omnipay-paydash/health.svg)](https://phpackages.com/packages/phuongdev89-omnipay-paydash)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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