PHPackages                             monero-integrations/monerophp - 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. monero-integrations/monerophp

ActiveLibrary

monero-integrations/monerophp
=============================

A Monero library written in PHP by the Monero-Integrations team.

12324.4k↑14.3%79[11 issues](https://github.com/monero-integrations/monerophp/issues)[4 PRs](https://github.com/monero-integrations/monerophp/pulls)1PHP

Since Feb 14Pushed 1y ago18 watchersCompare

[ Source](https://github.com/monero-integrations/monerophp)[ Packagist](https://packagist.org/packages/monero-integrations/monerophp)[ RSS](/packages/monero-integrations-monerophp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

[![PHPCS PSR-12](https://camo.githubusercontent.com/56b8d0e30cdddaac2db778a2ac2ecd4339ba90ee5ee2f0e416977b514d2cb661/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50485043532d50535225453225383025393331322d3232363134362e737667)](https://www.php-fig.org/psr/psr-12/) [![PHPStan ](.github/phpstan.svg)](https://phpstan.org/)

Monero Library
==============

[](#monero-library)

A Monero library written in PHP by the [Monero Integrations](https://monerointegrations.com) [team](https://github.com/monero-integrations/monerophp/graphs/contributors).

How It Works
------------

[](#how-it-works)

This library has 3 main parts:

1. A Monero daemon JSON RPC API wrapper, `daemonRPC.php`
2. A Monero wallet (`monero-wallet-rpc`) JSON RPC API wrapper, `walletRPC.php`
3. A Monero/Cryptonote toolbox, `cryptonote.php`, with both lower level functions used in Monero related cryptography and higher level methods for things like generating Monero private/public keys.

In addition to these features, there are other lower-level libraries included for portability, *eg.* an ed25519 library, a SHA3 library, *etc.*

Preview
-------

[](#preview)

[![Preview](https://user-images.githubusercontent.com/4107993/38056594-b6cd6e14-3291-11e8-96e2-a771b0e9cee3.png)](https://user-images.githubusercontent.com/4107993/38056594-b6cd6e14-3291-11e8-96e2-a771b0e9cee3.png)

Documentation
-------------

[](#documentation)

Documentation can be found in the [`/docs`](https://github.com/sneurlax/monerophp/tree/master/docs) folder.

Configuration
-------------

[](#configuration)

### Requirements

[](#requirements)

- Monero daemon (`monerod`)
- Webserver with PHP, for example XMPP, Apache, or NGINX
    - cURL PHP extension for JSON RPC API(s)
    - GMP PHP extension for about 100x faster calculations (as opposed to BCMath)

Debian (or Ubuntu) are recommended.

### Getting Started

[](#getting-started)

1. Start the Monero daemon (`monerod`) on testnet.

```
monerod --testnet --detach
```

2. Start the Monero wallet RPC interface (`monero-wallet-rpc`) on testnet.

```
monero-wallet-rpc --testnet --rpc-bind-port 28083 --disable-rpc-login --wallet-dir /path/to/wallet/directory
```

3. Edit `example.php` with your the IP address of `monerod` and `monero-wallet-rpc` (use `127.0.0.1:28081` and `127.0.0.1:28083`, respectively, for testnet.)
4. Serve `example.php` with your webserver (*eg.* XMPP, Apache/Apache2, NGINX, *etc.*) and navigate to it. If everything has been set up correctly, information from your Monero daemon and wallet will be displayed.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/862787cb5dd22a5506876ead18b0d55d745b5d5583a7181c4b1411a64bbc3b93?d=identicon)[serhack](/maintainers/serhack)

---

Top Contributors

[![sneurlax](https://avatars.githubusercontent.com/u/4107993?v=4)](https://github.com/sneurlax "sneurlax (165 commits)")[![serhack](https://avatars.githubusercontent.com/u/27734319?v=4)](https://github.com/serhack "serhack (136 commits)")[![cryptochangements34](https://avatars.githubusercontent.com/u/29288694?v=4)](https://github.com/cryptochangements34 "cryptochangements34 (59 commits)")[![BrianHenryIE](https://avatars.githubusercontent.com/u/4720401?v=4)](https://github.com/BrianHenryIE "BrianHenryIE (5 commits)")[![mzk](https://avatars.githubusercontent.com/u/382475?v=4)](https://github.com/mzk "mzk (5 commits)")[![itismadness](https://avatars.githubusercontent.com/u/24500510?v=4)](https://github.com/itismadness "itismadness (4 commits)")[![vv12131415](https://avatars.githubusercontent.com/u/17382248?v=4)](https://github.com/vv12131415 "vv12131415 (3 commits)")[![OxMarco](https://avatars.githubusercontent.com/u/10283625?v=4)](https://github.com/OxMarco "OxMarco (3 commits)")[![QuickBASIC](https://avatars.githubusercontent.com/u/7226914?v=4)](https://github.com/QuickBASIC "QuickBASIC (3 commits)")[![coval3nte](https://avatars.githubusercontent.com/u/65908512?v=4)](https://github.com/coval3nte "coval3nte (2 commits)")[![burnside](https://avatars.githubusercontent.com/u/1981664?v=4)](https://github.com/burnside "burnside (2 commits)")[![Olsm](https://avatars.githubusercontent.com/u/8917803?v=4)](https://github.com/Olsm "Olsm (1 commits)")[![recanman](https://avatars.githubusercontent.com/u/29310982?v=4)](https://github.com/recanman "recanman (1 commits)")[![rex4539](https://avatars.githubusercontent.com/u/227442?v=4)](https://github.com/rex4539 "rex4539 (1 commits)")[![shopglobal](https://avatars.githubusercontent.com/u/12779751?v=4)](https://github.com/shopglobal "shopglobal (1 commits)")[![example123](https://avatars.githubusercontent.com/u/87628?v=4)](https://github.com/example123 "example123 (1 commits)")[![danth](https://avatars.githubusercontent.com/u/28959268?v=4)](https://github.com/danth "danth (1 commits)")[![gnock](https://avatars.githubusercontent.com/u/17928469?v=4)](https://github.com/gnock "gnock (1 commits)")[![ibragimkb](https://avatars.githubusercontent.com/u/33495130?v=4)](https://github.com/ibragimkb "ibragimkb (1 commits)")[![itssteven](https://avatars.githubusercontent.com/u/15109634?v=4)](https://github.com/itssteven "itssteven (1 commits)")

---

Tags

monero-daemonmonero-integrationsmonero-librarymonero-wallet-rpcphp

### Embed Badge

![Health badge](/badges/monero-integrations-monerophp/health.svg)

```
[![Health](https://phpackages.com/badges/monero-integrations-monerophp/health.svg)](https://phpackages.com/packages/monero-integrations-monerophp)
```

PHPackages © 2026

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