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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package monero-rpc-php

Monero Daemon & Wallet RPC client

Latest Stable Version Tests PHPStan codecov PHP Version Require

Monero daemon and wallet RPC client library written in modern PHP.

Features

Installation

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:

guzzle

Other http clients ### symfony http client ### buzz ### php-http/curl-client

Setup

Creating a client

For the wallet rpc client:

Daemon rpc client:

Using authentication

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:

Usage

Creating a wallet and account

Testing

The project has unit tests and integration tests, the unit tests can be run using composer test:unit

To run the integration tests, you'll need docker and docker compose or you could run monerod and 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 18081 and monero-wallet-rpc will run on port 18083.

After that, run composer test:integration to run the integration tests.

Roadmap

Contributing

See CONTRIBUTING.md

Changelog

See CHANGELOG.md

License

The MIT License (MIT). Please see License File for more information.

Acknowledgments


All versions of monero-rpc-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1.0
ext-json Version *
php-http/discovery Version ^1.19.0
psr/http-client Version ^1.0.2
psr/http-client-implementation Version *
psr/http-factory-implementation Version *
psr/http-message Version ^1.1.0|^2.0.0
psr/log Version ^3.0
square/pjson Version ^0.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package refactor_ring/monero-rpc-php contains the following files

Loading the files please wait ....