Download the PHP package refactor_ring/monero-rpc-php without Composer
On this page you can find all versions of the php package refactor_ring/monero-rpc-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
More information about refactor_ring/monero-rpc-php
Files in refactor_ring/monero-rpc-php
Informations about the package monero-rpc-php
Monero Daemon & Wallet RPC client
Monero daemon and wallet RPC client library written in modern PHP.
- Implements Monero wallet and daemon rpc methods
- Support authentication for the wallet and daemon rpc servers
- Fully strongly typed and strict_types enabled
- Minimal dependencies
- PSR-18 compatible, so different http client libraries can be used
You can install the package with Composer, at this this time minimum-stability has to be set to dev:
When your project does not have a http client available yet, you should require one as well.
Different http clients can be used:
Other http clients### symfony http client ### buzz ### php-http/curl-client
Creating a client
For the wallet rpc client:
Daemon rpc client:
Connecting through a proxy
Configuring a proxy is specific to the http client library.
Below is a Symfony Http Client example for a socks5 proxy:
Injecting a logger
The client builder also supports injecting a logger and/or a http client:
Creating a wallet and account
The project has unit tests and integration tests, the unit tests can be run using
To run the integration tests, you'll need
docker compose or you could run
monero-wallet-rpc on your own.
If you have the docker stack installed, go to the
tests folder and run
docker compose up. Note that the daemon will run on port
monero-wallet-rpc will run on port
After that, run
composer test:integration to run the integration tests.
- [ ] More integration tests
- [ ] Improve documentation and add examples
The MIT License (MIT). Please see License File for more information.