Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 775 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 775 Bytes

PHP-Monero

PHP Integration of Monero

With this API it should be easy to integrate XMR payments in any PHP + MySQL/MariaDB platform.

Usage

  • Import the xmr_payments.db file into your MySQL or MariaDB database
  • Edit "includes/Monero.php" and set the class variables to your local setup
  • Instantiate a MySQLi instance
  • Instantiate the PHP_Monero class, passing the MySQLi instance as an argument
  • View the examples file. There are two functions that should be called on random page loads or as cron jobs

The code is well documented according to PHPDoc standards and mostly follows PHP-FIG coding guidelines.

Donations:

XMR: 49RPpNuDuLhayv8yHgVSNhgdvB4Uze3A9euEsBzp3groWssk2eZPEErf6LSDae9smQ78a5CfNmafYdgYnyjTEY6q4EvuPJ1

XMR OA: pedrogaspar.pt