Skip to content
PHP Integration of Monero
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
includes
LICENSE Initial commit Mar 3, 2015
README.md Update readme Mar 25, 2015
example.php Fixed examples Mar 25, 2015
xmr_payments.sql Handle XMR as integer rather than float, rename xmr_payments for IDE … Mar 25, 2015

README.md

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

You can’t perform that action at this time.