PHPackages                             gopaywin/api-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. gopaywin/api-client

ActiveLibrary[API Development](/categories/api)

gopaywin/api-client
===================

GoPayWin API PHP Client Bindings

17PHP

Since Jul 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/GoPayWin/api-client-php)[ Packagist](https://packagist.org/packages/gopaywin/api-client)[ RSS](/packages/gopaywin-api-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

GoPayWin API Bindings for PHP
=============================

[](#gopaywin-api-bindings-for-php)

[![@awsforphp on Twitter](https://camo.githubusercontent.com/d40598cfdf38318b8a9ce38ab24c7cf9d3bde4794c8e4a487893252e3cd81597/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430676f70617977696e2d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/gopaywin)[![Latest Development Version](https://camo.githubusercontent.com/daeaaafc093d276680bdc028bd788d1b782a29078478b89728ab385723adc388/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f70617977696e2f6170692d636c69656e742e737667)](https://packagist.org/packages/gopaywin/api-client)

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

[](#installation)

The GoPayWin API Client can be installed via [Composer](http://getcomposer.org) by requiring the `gopaywin/api-client` package in your project's `composer.json`.

```
{
    "require": {
        "gopaywin/api-client": "0.2.*@dev"
    }
}
```

Then run a composer update

```
php composer.phar update
```

Configuration
-------------

[](#configuration)

```
$configuration = new \GoPayWin\ApiClient\Configuration();

$configuration->load_from_array(array(
  'endpoint' => \GoPayWin\ApiClient\Configuration::SANDBOX_ENDPOINT,
  'private_key' => '...',
  'publishable_key' => '...'
));
```

You can create custom configuration loaders by extending the `\GoPayWin\ApiClient\Configuration` class.

Usage
-----

[](#usage)

```
$request = new \GoPayWin\ApiClient\Request('/orders', $configuration);
$response = $request->get();
```

Links
-----

[](#links)

- [GoPayWin API Client for PHP on Github](http://github.com/gopaywin/api-client-php/)
- [GoPayWin API Client on Packagist](https://packagist.org/packages/gopaywin/api-client/)
- [GoPayWin website](http://www.gopaywin.com/)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e6662a4df487bbc81b29002bc5b0ab579dd51832beb086c00a462cdd98780c9?d=identicon)[andrewcurioso](/maintainers/andrewcurioso)

---

Top Contributors

[![andrewcurioso](https://avatars.githubusercontent.com/u/587738?v=4)](https://github.com/andrewcurioso "andrewcurioso (23 commits)")[![cytidd](https://avatars.githubusercontent.com/u/4114942?v=4)](https://github.com/cytidd "cytidd (2 commits)")[![hphu](https://avatars.githubusercontent.com/u/5354683?v=4)](https://github.com/hphu "hphu (2 commits)")

### Embed Badge

![Health badge](/badges/gopaywin-api-client/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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