PHPackages                             paywhirl/paywhirl - 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. paywhirl/paywhirl

ActiveLibrary[API Development](/categories/api)

paywhirl/paywhirl
=================

PayWhirl API client

v1.3(6y ago)03.6k↓73.2%MITPHP

Since Mar 19Pushed 5y agoCompare

[ Source](https://github.com/paywhirl/php-pwclient)[ Packagist](https://packagist.org/packages/paywhirl/paywhirl)[ RSS](/packages/paywhirl-paywhirl/feed)WikiDiscussions master Synced yesterday

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

A convenient PayWhirl API wrapper in PHP
----------------------------------------

[](#a-convenient-paywhirl-api-wrapper-in-php)

The [PayWhirl](https://app.paywhirl.com/) PHP library is provided to allow developers to access PayWhirl services without needing to write their own API wrappers.

The [Documentation](https://api.paywhirl.com/) linked here and below contains all of the available methods for interacting with your PayWhirl account. If you would like to see additional functionality added, feel free to submit an issue or a pull request.

### Usage Guide

[](#usage-guide)

- [Documentation](https://api.paywhirl.com/)

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [License](#license)
- [About](#about)

Requirements
------------

[](#requirements)

- [PHP](http://www.php.net/) 5.6+

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

[](#installation)

The recommended way of including this package in your project is by using Composer:

```
$ composer require paywhirl/paywhirl
```

Make sure to use Composer's autoload:

```
require_once __DIR__ . '/vendor/autoload.php';
```

Usage
-----

[](#usage)

To create a new PayWhirl object, you need to pass in your API key and secret, which can be found in the [API key section of the main site](https://app.paywhirl.com/api-keys).

```
use PayWhirl\PayWhirl;

$api_key = "pwpk_xxxxxxxxxxxxxxx";
$api_secret = "pwpsk_xxxxxxxxxxx";

$paywhirl = new \PayWhirl\PayWhirl($api_key, $api_secret);

print_r($paywhirl->getAccount());
```

License
-------

[](#license)

PayWhirl is copyright © 2016-2018 [PayWhirl Inc.](https://app.paywhirl.com/) This library is free software, and may be redistributed under the terms specified in the [license](LICENSE.md).

About
-----

[](#about)

[PayWhirl Inc.](https://app.paywhirl.com/) and the names and logos for PayWhirl are trademarks of PayWhirl inc.

For additional information, please see our [Terms of Use](https://app.paywhirl.com/terms) and [Privacy Policy](https://app.paywhirl.com/privacy)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 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 ~141 days

Total

4

Last Release

2237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5306d2cb680fb34ce1deeacec60d4e5eb4d90cf788fdff400fb3a022417066a1?d=identicon)[paywhirl\_developer](/maintainers/paywhirl_developer)

---

Top Contributors

[![danetzer](https://avatars.githubusercontent.com/u/59240?v=4)](https://github.com/danetzer "danetzer (13 commits)")[![runefather](https://avatars.githubusercontent.com/u/7761939?v=4)](https://github.com/runefather "runefather (10 commits)")[![luke8086](https://avatars.githubusercontent.com/u/55237178?v=4)](https://github.com/luke8086 "luke8086 (6 commits)")[![edgareler](https://avatars.githubusercontent.com/u/552391?v=4)](https://github.com/edgareler "edgareler (4 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

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

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/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)
