PHPackages                             gdpa/eways-client - 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. gdpa/eways-client

ActiveLibrary[API Development](/categories/api)

gdpa/eways-client
=================

A client for Eways.ir Apis

v7.4(5y ago)26.5kMITPHPPHP ^7.4

Since Feb 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gdpa/eways-client)[ Packagist](https://packagist.org/packages/gdpa/eways-client)[ Docs](https://github.com/gdpa/eways-client)[ RSS](/packages/gdpa-eways-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4f6227efd116f357bc5757669f43a6a7bbd6ec9d903cff16577967f7c2d2ff55/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676470612f65776179732d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gdpa/eways-client)[![Build Status](https://camo.githubusercontent.com/e9850820cda11b7eb662c8be9926d75d1eae567134febfd4f26e481598be5c63/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f676470612f65776179732d636c69656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gdpa/eways-client)[![Quality Score](https://camo.githubusercontent.com/6a6880012589dea216ad07d612591041acf5c2d69be34d34435081a577ec87ae/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f676470612f65776179732d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gdpa/eways-client)[![Total Downloads](https://camo.githubusercontent.com/aec90fdcf5a9eb95060598122582a642251cf7c93dfeb3a3fd6232caa8a2e116/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676470612f65776179732d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gdpa/eways-client)

This library make it easy to use eways apis for using GetProducts, RequestPins and GetStatus SOAPs.

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

[](#installation)

You can install the package via composer:

```
composer require gdpa/eways-client
```

Usage
-----

[](#usage)

```
// Order a pin or top up in one shot
$ewaysClient = new EwaysClient('username', 'password');
$ewaysClient->orderPin($transactionId, $productId, $mobile, $quantity, $email, $optional, $refUrl);

// Pay a bill
$ewaysClient = new EwaysClient('username', 'password');
$ewaysClient->payBill($transactionId, $billId, $payId, $optional);

// Check order status in one shot
$ewaysClient = new EwaysClient('username', 'password');
$ewaysClient->getStatus('transactionID', 'requestID');

// Get products
$getProducts = new GetProduct('username');
$getProducts->products();

// Find product by CID
// For example MTN Top Up CID 40
$getProducts = new GetProduct('username');
$product = $getProducts->find(40);

// Call RequestPin
$requestPin = new RequestPin($password);
$requestPin->requestId($requestId)->quantity($quantity)->productType($productId)->mobile($mobile)->email($email)
    ->optional($optional)->refUrl($refUrl)->result();

// Get order status
$getStatus = new GetStatus();
$result = $getStatus->transactionId($transactionId)->requestId($requestId)->result();
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Morteza Poussaneh](https://github.com/gdpa)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

PHP Package Boilerplate
-----------------------

[](#php-package-boilerplate)

This package was generated using the [PHP Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~155 days

Total

11

Last Release

1982d ago

Major Versions

1.3.3 → v2.02020-12-13

v2.0 → v3.02020-12-13

v3.0 → v4.02020-12-13

v4.0 → v7.42020-12-13

PHP version history (4 changes)1.0.0PHP &gt;=7.1.0

v2.0PHP ^7.2

v3.0PHP ^7.3

v4.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/66ac3077fbe0bfb59fa2eda91f3fb0333426fe07e3ce60d0e7db521178858942?d=identicon)[gdpa](/maintainers/gdpa)

---

Top Contributors

[![gdpa](https://avatars.githubusercontent.com/u/7866747?v=4)](https://github.com/gdpa "gdpa (7 commits)")

---

Tags

ewayseways-clientphpsoapgdpaeways-client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gdpa-eways-client/health.svg)

```
[![Health](https://phpackages.com/badges/gdpa-eways-client/health.svg)](https://phpackages.com/packages/gdpa-eways-client)
```

###  Alternatives

[laminas/laminas-soap

6121.8M37](/packages/laminas-laminas-soap)[gusapi/gusapi

Gus Api Library for PHP

1351.5M8](/packages/gusapi-gusapi)[codedredd/laravel-soap

A SoapClient wrapper integration for Laravel

221516.6k3](/packages/codedredd-laravel-soap)[phpforce/soap-client

A PHP client for the Salesforce SOAP API

831.9M1](/packages/phpforce-soap-client)[afipsdk/afip.php

Libreria para usar los Web Services de AFIP (Argentina)

284121.2k5](/packages/afipsdk-afipphp)[besimple/soap-client

Build and consume SOAP Client based web services

582.2M14](/packages/besimple-soap-client)

PHPackages © 2026

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