PHPackages                             noaman-mahmoud/hyperpay - 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. noaman-mahmoud/hyperpay

ActiveLibrary[Payment Processing](/categories/payments)

noaman-mahmoud/hyperpay
=======================

integration with hyperpay payment

0.1(4y ago)0227MITPHP

Since Jan 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/noaman-mahmoud/HyperPay)[ Packagist](https://packagist.org/packages/noaman-mahmoud/hyperpay)[ RSS](/packages/noaman-mahmoud-hyperpay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

integration payment with hyperpay
=================================

[](#integration-payment-with-hyperpay)

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

[](#installation)

You can install the package via [Composer](https://getcomposer.org).

```
composer require noaman-mahmoud/hyperpay
```

Publishing
----------

[](#publishing)

After install publish file config

```
php artisan vendor:publish --tag="hyperpay"
```

Usage
-----

[](#usage)

```
use NoamanMahmoud\HyperPay\HyperPay;

// price = 100 ;  brand = mada ; information = [ config.information ]
HyperPay::checkoutHyperPay(100,'mada');

// get transaction Id
$transactionId = HyperPay::transactionId();

return view('hyperpay_form', compact('transactionId'));

// Example view

    var wpwlOptions = {
        style: "card",
        locale: "ar",
        paymentTarget:'_top'
    }

// after submit form check status $request->id

// brand = mada
$status = HyperPay::paymentStatus($request->id,'mada');

// success
$status = ['status' => 'success' , 'description'=> ''];

// fail
$status = ['status' => 'fail' , 'description'=> ''];
```

Config file hyperpay.php
------------------------

[](#config-file-hyperpayphp)

```
// you can change mode [ live , test ]
 "mode" => env( 'HYPER_PAY_MODE', "test" ),
```

Brands :
--------

[](#brands-)

- VISA
- MASTER
- VISA MASTER
- AMEX
- APPLEPAY
- MADA
- .... etc

Testing Cards
-------------

[](#testing-cards)

4111111111111111 05/22 cvv2 123 (Success).

5204730000002514 05/22 cvv2 251 (Fail).

Mada test card : 5297412484442387 10/22 cvv2 966

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e2b30d0b2bade7ec8bd1d968095d0773dc598a42affb52b9092a898225e471e?d=identicon)[noaman-mahmoud](/maintainers/noaman-mahmoud)

---

Top Contributors

[![noaman-mahmoud](https://avatars.githubusercontent.com/u/10139998?v=4)](https://github.com/noaman-mahmoud "noaman-mahmoud (6 commits)")

### Embed Badge

![Health badge](/badges/noaman-mahmoud-hyperpay/health.svg)

```
[![Health](https://phpackages.com/badges/noaman-mahmoud-hyperpay/health.svg)](https://phpackages.com/packages/noaman-mahmoud-hyperpay)
```

###  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)
