monero mnemonic seed library for php with support for multiple languages (wordsets).
In your project's composer.json file:
"require": {
"dan-da/monero-mnemonic-php": "1.0.0",
},
Then run 'composer update'.
In case you just want to run unit tests, or contribute to development of the library.
$ git clone https://github.com/dan-da/monero-mnemonic-php
$ cd monero-mnemonic-php
$ composer install
See the example code/usage at the bottom of src/mnemonic.php.
Although this code is intended as a library for other apps, mnemonic.php can also be called directly from the command-line to encode and decode mnemonics.
See the example usage at the bottom of src/mnemonic.php.
See src/wordsets