PHPackages                             electroneum/wallet-manager-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. electroneum/wallet-manager-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

electroneum/wallet-manager-php
==============================

Electroneum PHP Wallet Manager

0.1.0(7y ago)371[1 issues](https://github.com/electroneum/wallet-manager-php/issues)MITPHPPHP &gt;=5.4.0

Since Oct 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/electroneum/wallet-manager-php)[ Packagist](https://packagist.org/packages/electroneum/wallet-manager-php)[ Docs](https://github.com/electroneum/wallet-manager-php)[ RSS](/packages/electroneum-wallet-manager-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Electroneum PHP Wallet Manager
==============================

[](#electroneum-php-wallet-manager)

A wallet manager written in PHP to create and verify Electroneum wallet addresses and keys.

This allows for a PHP only solution; no need to run the wallet-rpc that requires a synchronised blockchain.

Requirements
------------

[](#requirements)

- PHP 7.0+ (not tested &lt;7)
- [GMP PHP library](http://php.net/manual/en/book.gmp.php)

Install
-------

[](#install)

### Manual Installation

[](#manual-installation)

Unpack the code and include the Electroneum WalletManager class:

```
require_once('lib/WalletManager.php');
```

### Composer Installation

[](#composer-installation)

Using composer, you can easily install with:

```
composer require electroneum/wallet-manager-php

```

Alternatively, you can add the following to your `composer.json`:

```
"require": {
    "electroneum/wallet-manager-php": "^0.1.0"
},
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/electroneum/wallet-manager-php"
    }
],

```

Demo
----

[](#demo)

A demonstration can be found in `example/demo.php`.

Quick Use
---------

[](#quick-use)

The most common use, to generate a new wallet:

```
    $walletManager = new Electroneum\Wallet\WalletManager();
    $wallet = $walletManager->wallet_from_seed();

```

Getting Started
---------------

[](#getting-started)

Create the `WalletManager()` object, optionally passing an ISO 639-1 code for the required mnemonic language:

```
// Default to English
$walletManager = new Electroneum\Wallet\WalletManager();

// French
$walletManager = new Electroneum\Wallet\WalletManager('fr');

```

Supported languages are currently limited to:

CodeLanguagedeGermanenEnglisheoEsperantoesSpanishfrFrenchitItalianjaJapaneseptPortugueseruRussianzhChinese### Create a Wallet

[](#create-a-wallet)

This accepts an optioan seed (32 hexadecimal string) and returns an array of seed, mnemonic words, wallet address and spend/view public/private keys.

```
$wallet = $walletManager->wallet_from_seed($seed = null);

```

### Create a Wallet from Mnemonic Words

[](#create-a-wallet-from-mnemonic-words)

This accepts a string of space separated mnemonic words and returns an array of seed, mnemonic words, wallet address and spend/view public/private keys.

```
$wallet = $walletManager->wallet_from_mnemonic($mnemonicWords);

```

### Decode an Integrated Wallet

[](#decode-an-integrated-wallet)

This accepts an integrated address and returns an array of integrated wallet address, wallet address, public view key, public spend key and payment id.

```
$wallet = $walletManager->integrated_decode($integrated_wallet);

```

### Encode an Integrated Wallet

[](#encode-an-integrated-wallet)

This returns an array of integrated wallet address, wallet address, public spend key, public view key and payment id.

This can be created with an optional payment id from the public spend/view keys:

```
$iAddress = $walletManager->integrated_encode($public_spend_key, $public_view_key, $payment_id = null);

```

If you do not have the public keys, the is an `integrated_encode_address()` function that accepts a wallet address, decodes this into the public keys and then calls the above function. As a result, the above is faster if you have the keys available.

```
$iAddress = $walletManager->integrated_encode_address($address, $payment_id = null);

```

### Public Keys From Wallet Address

[](#public-keys-from-wallet-address)

This accepts a wallet address and decodes it into the public spend and view keys:

```
$wallet = $walletManager>decode_address($address);

```

This returns an array of wallet address, network bytes, public spend key and public view key.

### Verify Private Keys

[](#verify-private-keys)

This returns a boolean response based on whether a spend and view key belong to the same wallet:

```
$result = $walletManager->verify_privates($privateSpendKey, $privateViewKey);

```

### Generate a Payment Id

[](#generate-a-payment-id)

Generate a cryptographically secure hexadecimal, useful for payment ids:

```
$paymentId = $walletManager->generate_payment_id($length);

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4aadacf7ef377dcf730bb953201d3e2e563fa4337decc430d42d9be5e779199?d=identicon)[electroneum](/maintainers/electroneum)

---

Tags

phpwalletelectroneumetn

### Embed Badge

![Health badge](/badges/electroneum-wallet-manager-php/health.svg)

```
[![Health](https://phpackages.com/badges/electroneum-wallet-manager-php/health.svg)](https://phpackages.com/packages/electroneum-wallet-manager-php)
```

###  Alternatives

[pkpass/pkpass

PHP PKPass class for iOS Wallet

9733.0M6](/packages/pkpass-pkpass)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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