PHPackages                             bluedogtraining/guzzle-eway - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. bluedogtraining/guzzle-eway

Abandoned → [eway/eway-rapid-php](/?search=eway%2Feway-rapid-php)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

bluedogtraining/guzzle-eway
===========================

A Guzzle client for interacting with the Eway Direct Transactions API

v3.0.0(11y ago)25291MITPHP

Since Jan 8Pushed 11y ago9 watchersCompare

[ Source](https://github.com/bluedogtraining/guzzle-eway)[ Packagist](https://packagist.org/packages/bluedogtraining/guzzle-eway)[ RSS](/packages/bluedogtraining-guzzle-eway/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

guzzle-eway
===========

[](#guzzle-eway)

[![Build Status](https://camo.githubusercontent.com/890ec4a9d1bec400f9970d570e95a57df33ed2c6452f75063b5a76389e5eeaba/68747470733a2f2f7472617669732d63692e6f72672f626c7565646f67747261696e696e672f67757a7a6c652d657761792e706e67)](https://travis-ci.org/bluedogtraining/guzzle-eway)

A PHP 5.3+ Guzzle client for interacting with the Eway Direct Transaction API.

Install
-------

[](#install)

Via composer

```
{
    "require": {
        "bluedogtraining/guzzle-eway": "3.*"
    }
}
```

Usage
-----

[](#usage)

### Create API client

[](#create-api-client)

```
$client = \Bdt\Eway\EwayClient::factory();
```

### Send Payment

[](#send-payment)

Command arguments are as defined in the [Eway API](http://www.eway.com.au/developers/api/direct-payments), except without the `eway` prefix.

```
$response = $client->SendPayment([
    'customerID'      => '87654321',
    'totalAmount'     => '10',
    'cardHoldersName' => 'Foo Bar',
    'cardNumber'      => '4444333322221111',
    'cardExpiryMonth' => '06',
    'cardExpiryYear'  => '20',
    'CVN'             => '123',
]);

$response['trxnStatus']; // true
$response['trxnError']['code']; // 10
```

Testing
-------

[](#testing)

```
$ phpunit
```

More Reading
------------

[](#more-reading)

- [guzzlephp.org: Guzzle](http://guzzlephp.org/)
- [eway.com.au: Response Codes](http://www.eway.com.au/developers/resources/response-codes)
- [eway.com.au: Direct Payments Sandbox](http://www.eway.com.au/developers/sandbox/direct-payments)
- [eway.com.au: Direct Payments Documentation](http://www.eway.com.au/developers/api/direct-payments)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 94.5% 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 ~61 days

Recently: every ~113 days

Total

10

Last Release

4375d ago

Major Versions

v1.0.1 → v2.0.02013-02-13

v2.1.4 → v3.0.02014-07-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/608468?v=4)[Blue Dog Training](/maintainers/bluedogtraining)[@bluedogtraining](https://github.com/bluedogtraining)

---

Top Contributors

[![jwpage](https://avatars.githubusercontent.com/u/52687?v=4)](https://github.com/jwpage "jwpage (52 commits)")[![kimpepper](https://avatars.githubusercontent.com/u/6132?v=4)](https://github.com/kimpepper "kimpepper (1 commits)")[![olekukonko](https://avatars.githubusercontent.com/u/2615393?v=4)](https://github.com/olekukonko "olekukonko (1 commits)")[![trsteel88](https://avatars.githubusercontent.com/u/869933?v=4)](https://github.com/trsteel88 "trsteel88 (1 commits)")

---

Tags

Guzzlepaymentewayaustralia

### Embed Badge

![Health badge](/badges/bluedogtraining-guzzle-eway/health.svg)

```
[![Health](https://phpackages.com/badges/bluedogtraining-guzzle-eway/health.svg)](https://phpackages.com/packages/bluedogtraining-guzzle-eway)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[guzzlehttp/oauth-subscriber

Guzzle OAuth 1.0 subscriber

24215.4M152](/packages/guzzlehttp-oauth-subscriber)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

927.0M55](/packages/graham-campbell-guzzle-factory)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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