/PHP-Monero

PHP Integration of Monero

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

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