Download the PHP package jeankassio/electrumphp without Composer

On this page you can find all versions of the php package jeankassio/electrumphp. 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 electrumphp

ElectrumPHP

ElectrumPHP is a PHP library designed to interact with the Electrum wallet through RPC calls. With this library, you can manage wallets, generate addresses, check balances, make Bitcoin payments and much more using the Electrum daemon.

Update: You can also calculate the ideal estimated fee for your transaction before you make it.

Requirements

Installation

The package can be installed using Composer

Usage

Instantiate the ElectrumPHP Class

Tips

The recommendation is that you start it even if you know that the daemon is already running, as the "start" function checks whether the daemon is running and communicating correctly before trying to execute the code to start the daemon.

Methods

Start the Electrum Daemon (if you need)

Stop the Electrum Daemon (if you need)

Check if Daemon is Running

Validate a Bitcoin Address

Create a New Wallet and receive Seed

Create a New Wallet with your seed

Create a New Address

Get Address Balance

Get Wallet Balance

Get Transaction Details

Get Number of Confirmations

Pay to a Bitcoin Address

Pay to Multiple Addresses

Load a Wallet

Get Wallets Currently Open

Notify of Address Changes (Webhooks) [Not recommended, could fail]

Delete Address Notification

Get Private Key of Address in wallet

Get Seed of the Wallet

If the method you need doesn't exist, make a custom call.

Get estimate fee, bests inputs and suggest change address.

And result are:

Error Handling

Every RPC call that fails will throw an exception.

You can handle these exceptions using simple try-catch blocks:

Contribution:

Contributions are welcome! If you find a bug or have suggestions for improvements.

Feel free to open an issue or submit a Pull Request.

License:

This project is licensed under the MIT License - see the LICENSE.md file for details.


All versions of electrumphp with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
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 jeankassio/electrumphp contains the following files

Loading the files please wait ....