PHPackages                             elshawadfi/knetkwd - 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. elshawadfi/knetkwd

ActiveLibrary[Payment Processing](/categories/payments)

elshawadfi/knetkwd
==================

knet payment gateway for kuwait

1.1.1(4y ago)11161MITPHP

Since Dec 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/elshawadfi/knet-kwd)[ Packagist](https://packagist.org/packages/elshawadfi/knetkwd)[ RSS](/packages/elshawadfi-knetkwd/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

knet-payment
============

[](#knet-payment)

`

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

[](#installation)

```
composer require elshawadfi/knetkwd

```

usage
-----

[](#usage)

```
use Elshawadfi\Knetkwd;

$config = [
    "response_url" => "https://domain.com/result.php",
    "error_url" => "https://domain.com/error.php",
    "tranportal_id"=>"",
    "password"=>"",
    "resource_key"=>"",
    "amount"=> 100,
    "udf1"=> "",
    "udf2"=> "",
    "udf3"=> "",
    "udf4"=> "",
    "udf5"=> "",
    "testmode"=>true   // for test
];

$knet  = new Knet($config);

// **************  request from knet *************//
$request = $knet->request();

if($request["status"] == 1)
{
    //  $request["data"]["url"];
}
else
{
    // print_r($request["errors"]);
}

```

response page
-------------

[](#response-page)

```
$config = [
    "response_url" => "https://domain.com/result.php",
    "error_url" => "https://domain.com/error.php",
    "tranportal_id"=>"",
    "password"=>"",
    "resource_key"=>"",
    "amount"=> 100,
    "udf1"=> "",
    "udf2"=> "",
    "udf3"=> "",
    "udf4"=> "",
    "udf5"=> "",
];

$knet  = new Knet($config);

$resutl = $knet->responce();

if($resutl["status"] == "success"){

  //you success code
}
else
{
    // error
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

3

Last Release

1639d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7723980?v=4)[elshawadfi](/maintainers/elshawadfi)[@elshawadfi](https://github.com/elshawadfi)

---

Top Contributors

[![elshawadfi](https://avatars.githubusercontent.com/u/7723980?v=4)](https://github.com/elshawadfi "elshawadfi (12 commits)")

### Embed Badge

![Health badge](/badges/elshawadfi-knetkwd/health.svg)

```
[![Health](https://phpackages.com/badges/elshawadfi-knetkwd/health.svg)](https://phpackages.com/packages/elshawadfi-knetkwd)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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