GitHunt
HA

HanzCEO/FaucetPayPHP

FaucetPay API client in PHP, suitable for clever developers and webmasters

FaucetPayPHP

The most size efficient (lightweight) and beginner friendly FaucetPay API client in PHP, suitable for clever developers and webmasters

Get Started

  1. Download the script
wget https://github.com/HanzHaxors/FaucetPayPHP/raw/main/faucetpay.php
  1. Attach in your project
include('./faucetpay.php');
  1. Use the library (this is the example)
$fp = new FaucetPay('MY_API_KEY');
$method = $_GET['m'];

$fp->$method(
	$_GET, // An array of parameters without api_key
	true // Print test page
);

$response = $fp->send(
	array(
		"currency" => "BTC",
		"amount" => 100,
		"to" => "1HeadlkM24Jac..."
	)
);
print_r($response);

End Notes

Thank you for visiting this page! Appreciate my works by Following, being a Stargazer, Contribute to the project or Donate me via cryptocurrency down below

BTC, ETH, LTC, BCH, DASH, DGB, FEY via FaucetPay (username: Hanz)

WAVES : use alias (hanz, hanzhaxors, haxors)

Languages

PHP100.0%

Contributors

Mozilla Public License 2.0
Created March 13, 2021
Updated July 29, 2025