PHPackages                             hyperwallet/sdk - 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. hyperwallet/sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

hyperwallet/sdk
===============

A library to manage users, transfer methods and payments through the Hyperwallet API

2.2.6(6mo ago)13553.3k↓45.3%35[10 issues](https://github.com/hyperwallet/php-sdk/issues)[2 PRs](https://github.com/hyperwallet/php-sdk/pulls)2MITPHPPHP &gt;=5.6.0CI failing

Since Jun 30Pushed 6mo ago13 watchersCompare

[ Source](https://github.com/hyperwallet/php-sdk)[ Packagist](https://packagist.org/packages/hyperwallet/sdk)[ Docs](https://github.com/hyperwallet/php-sdk)[ RSS](/packages/hyperwallet-sdk/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (6)Versions (62)Used By (2)

[![Build Status](https://github.com/hyperwallet/php-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/hyperwallet/php-sdk/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/5cccc2b0e9f18c3acff4a6b154df8c9d3e800f55532a21c4ccfc2f9900f805cc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f687970657277616c6c65742f7068702d73646b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/hyperwallet/php-sdk?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/65192bfbfbbd3629f844d06af0c808275e1122588bf08b35a5cf364806659023/68747470733a2f2f706f7365722e707567782e6f72672f687970657277616c6c65742f73646b2f76657273696f6e)](https://packagist.org/packages/hyperwallet/sdk)[![PHP Version Require](https://camo.githubusercontent.com/66e52207b47ab3fed5b30407f934ec8d556dafdbb746ec468d15cdc6b3ae5557/687474703a2f2f706f7365722e707567782e6f72672f687970657277616c6c65742f73646b2f726571756972652f706870)](https://packagist.org/packages/hyperwallet/sdk)[![Packagist Downloads](https://camo.githubusercontent.com/ee0b582dc08a5959640cae9fc0cde720b5abcbc493a9fa1dffdffcb2e8693651/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f687970657277616c6c65742f73646b3f7374796c653d666c6174266c6f676f3d6170707665796f72)](https://packagist.org/packages/hyperwallet/sdk)[![Packagist Downloads](https://camo.githubusercontent.com/98ea83210c4a831517264ac245d9fdc5fc7d86d3b9405d96d8b4bc4457f8088d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f687970657277616c6c65742f73646b3f7374796c653d666c6174266c6f676f3d6170707665796f72)](https://packagist.org/packages/hyperwallet/sdk)

Hyperwallet REST SDK
====================

[](#hyperwallet-rest-sdk)

A library to manage users, transfer methods and payments through the Hyperwallet v4 API.

For Hyperwallet v3 API calls, please use the latest SDK version 1.x.x. See \[here|\] to learn about the differences between versions and the update process required to use REST API v4.

Prerequisites
-------------

[](#prerequisites)

Hyperwallet's PHP server SDK requires at minimum PHP 5.6 and above.

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

[](#installation)

```
$ composer require hyperwallet/sdk
```

Documentation
-------------

[](#documentation)

Documentation is available at .

API Overview
------------

[](#api-overview)

To write an app using the SDK

- Register for a sandbox account and get your username, password and program token at the [Hyperwallet Program Portal](https://portal.hyperwallet.com).
- Add dependency `hyperwallet/sdk` to your `composer.json`.
- Create a instance of the Hyperwallet Client (with username, password and program token)

    ```
    $client = new \Hyperwallet\Hyperwallet("restapiuser@4917301618", "mySecurePassword!", "prg-645fc30d-83ed-476c-a412-32c82738a20e");
    ```
- Start making API calls (e.g. create a user)

    ```
    $user = new \Hyperwallet\Model\User();
    $user
      ->setClientUserId('test-client-id-1')
      ->setProfileType(\Hyperwallet\Model\User::PROFILE_TYPE_INDIVIDUAL)
      ->setFirstName('Daffyd')
      ->setLastName('y Goliath')
      ->setEmail('testmail-1@hyperwallet.com')
      ->setAddressLine1('123 Main Street')
      ->setCity('Austin')
      ->setStateProvince('TX')
      ->setCountry('US')
      ->setPostalCode('78701');

    try {
        $createdUser = $client->createUser($user);
    } catch (\Hyperwallet\Exception\HyperwalletException $e) {
        // Add error handling here
    }
    ```
- Error Handling The `HyperwalletException` has an array of errors with `code`, `message` and `fielName` properties to represent a error.

    ```
      try {
        ...
      } catch (\Hyperwallet\Exception\HyperwalletException $e) {
        // var_dump($e->getErrorResponse());
        // var_dump($e->getErrorResponse()->getErrors());
        foreach ($e->getErrorResponse()->getErrors() as $error) {
            echo "\n------\n";
            echo $error->getFieldName()."\n";
            echo $error->getCode()."\n";
            echo $error->getMessage()."\n";
        }
      }
    ```

Development
-----------

[](#development)

Run the tests using [`phpunit`](https://phpunit.de/):

```
$ composer install
$ ./vendor/bin/phpunit -v
```

Reference
---------

[](#reference)

[REST API Reference](https://sandbox.hyperwallet.com/developer-portal/#/docs)

License
-------

[](#license)

[MIT](https://raw.githubusercontent.com/hyperwallet/php-sdk/master/LICENSE)

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance53

Moderate activity, may be stable

Popularity48

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor5

5 contributors hold 50%+ of commits

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

Recently: every ~299 days

Total

30

Last Release

187d ago

Major Versions

1.6.3 → 2.2.02021-12-10

1.7.0 → 2.2.12022-03-24

1.7.2 → 2.2.22022-08-19

1.7.3 → 2.2.32022-08-24

1.7.4 → 2.2.52023-08-08

PHP version history (2 changes)0.1.0PHP &gt;=5.5.9

1.7.3PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/723a5dbca4e95a2ad910d0b7de96f4ca5bd572e99d40ed04bad5d59e59427005?d=identicon)[bolynykhw](/maintainers/bolynykhw)

![](https://www.gravatar.com/avatar/bd0c67e689328b3cd223d79ca94a85ead336f995f5265909a00909dbd2050a1f?d=identicon)[wmews-hw](/maintainers/wmews-hw)

![](https://www.gravatar.com/avatar/97ad96bbe8a4389b44b0108e40a99a56cdde86424f4dfed93500673fefd1a3c0?d=identicon)[pjolamit](/maintainers/pjolamit)

![](https://www.gravatar.com/avatar/1eb06a7b7edf11c570254554fddcd24781efa35a2b27871bf4c081cec7e9a9af?d=identicon)[grmeyer-hw-dev](/maintainers/grmeyer-hw-dev)

---

Top Contributors

[![Rrathinasabapath](https://avatars.githubusercontent.com/u/67386943?v=4)](https://github.com/Rrathinasabapath "Rrathinasabapath (66 commits)")[![fkrauthan-hyperwallet](https://avatars.githubusercontent.com/u/14006451?v=4)](https://github.com/fkrauthan-hyperwallet "fkrauthan-hyperwallet (43 commits)")[![akalichety-hw](https://avatars.githubusercontent.com/u/62901259?v=4)](https://github.com/akalichety-hw "akalichety-hw (18 commits)")[![wmews-hw](https://avatars.githubusercontent.com/u/28413995?v=4)](https://github.com/wmews-hw "wmews-hw (18 commits)")[![jkurra-hw](https://avatars.githubusercontent.com/u/67380340?v=4)](https://github.com/jkurra-hw "jkurra-hw (17 commits)")[![aseveryn-hw](https://avatars.githubusercontent.com/u/42770782?v=4)](https://github.com/aseveryn-hw "aseveryn-hw (17 commits)")[![hlahlou-pp-dev](https://avatars.githubusercontent.com/u/91630355?v=4)](https://github.com/hlahlou-pp-dev "hlahlou-pp-dev (14 commits)")[![grmeyer-hw-dev](https://avatars.githubusercontent.com/u/107439697?v=4)](https://github.com/grmeyer-hw-dev "grmeyer-hw-dev (14 commits)")[![arao6](https://avatars.githubusercontent.com/u/69486881?v=4)](https://github.com/arao6 "arao6 (12 commits)")[![igusar-epam](https://avatars.githubusercontent.com/u/51230601?v=4)](https://github.com/igusar-epam "igusar-epam (8 commits)")[![yherasym-hw](https://avatars.githubusercontent.com/u/23388313?v=4)](https://github.com/yherasym-hw "yherasym-hw (7 commits)")[![skambar110](https://avatars.githubusercontent.com/u/72373316?v=4)](https://github.com/skambar110 "skambar110 (7 commits)")[![akreisman-epam](https://avatars.githubusercontent.com/u/37579403?v=4)](https://github.com/akreisman-epam "akreisman-epam (7 commits)")[![dyurchenko-epam](https://avatars.githubusercontent.com/u/56304980?v=4)](https://github.com/dyurchenko-epam "dyurchenko-epam (5 commits)")[![asingh-hw](https://avatars.githubusercontent.com/u/35469305?v=4)](https://github.com/asingh-hw "asingh-hw (5 commits)")[![jchanghw](https://avatars.githubusercontent.com/u/28459851?v=4)](https://github.com/jchanghw "jchanghw (5 commits)")[![akswaminathan-pp-dev](https://avatars.githubusercontent.com/u/103563290?v=4)](https://github.com/akswaminathan-pp-dev "akswaminathan-pp-dev (5 commits)")[![ramahalingam](https://avatars.githubusercontent.com/u/66912664?v=4)](https://github.com/ramahalingam "ramahalingam (4 commits)")[![specialtactics](https://avatars.githubusercontent.com/u/2955754?v=4)](https://github.com/specialtactics "specialtactics (4 commits)")[![whersbach-hw](https://avatars.githubusercontent.com/u/26642024?v=4)](https://github.com/whersbach-hw "whersbach-hw (2 commits)")

---

Tags

hyperwalletphpsdksdkrestcreditcardachpayoutbankaccounthyperwallet

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hyperwallet-sdk/health.svg)

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

###  Alternatives

[jlevers/selling-partner-api

PHP client for Amazon's Selling Partner API

4355.4M2](/packages/jlevers-selling-partner-api)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.6M18](/packages/xeroapi-xero-php-oauth2)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34199.5k2](/packages/onesignal-onesignal-php-api)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1194.4k](/packages/zenditplatform-zendit-php-sdk)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1830.2k2](/packages/huaweicloud-huaweicloud-sdk-php)

PHPackages © 2026

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