PHPackages                             mahtab2003/faucetpay - 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. mahtab2003/faucetpay

ActiveLibrary

mahtab2003/faucetpay
====================

An API Wrapper to Interact with FaucetPay Account.

1.0(3y ago)2752[1 PRs](https://github.com/mahtab2003/FaucetPay-API/pulls)MPL-2.0PHP

Since Jun 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mahtab2003/FaucetPay-API)[ Packagist](https://packagist.org/packages/mahtab2003/faucetpay)[ RSS](/packages/mahtab2003-faucetpay/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

FaucetPay API
=============

[](#faucetpay-api)

An API Wrapper to Interact with [FaucetPay](https://faucetpay.io).

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

[](#installation)

This package is best installed through Composer:

```
composer require mahtab2003/faucetpay
```

Usage
-----

[](#usage)

Before you can get started, you need to get the API Key from FaucetPay. Login to the [FaucetPay](https://faucetpay.io), go to Faucet Owner Dashboard -&gt; `Your Faucet` -&gt; Reveal API Key. Use this API key to interact with FaucetPay.

The FaucetPay API exposes the following methods. The available parameters are listed below.

- listCurrencies: Get the list of all supported currencies.
- listFaucets: Get the list of all available faucets.
- getBalance: Get the balance of the faucet.
- checkAddress: Check if the address is linked to any FaucetPay account.
- getPayouts: Get the list of all recent faucets.
- send: Send funds to another FaucetPay account.

### Example

[](#example)

```
use \Mahtab2003\FaucetPay\Api;

// Create a new Api class instance.
$api = new Api('API Key', 'BTC');

// Get the balance of the faucet.
$response = $api->getBalance();

// Check whether the request was successful.
if ($response->isSuccessful()) {
   $data = $response->getData();
   echo 'Your faucet balance is: ' . $data['balance'];
} else {
   echo 'Error: ' . $response->getMessage();
}
```

License
-------

[](#license)

©️ Copyright 2022 NXTS Developer. Code released under the MPL-2.0 License.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1441d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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