Download the PHP package andkom/php-bitcoin-address without Composer
On this page you can find all versions of the php package andkom/php-bitcoin-address. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-bitcoin-address
PHP Bitcoin Address
A simple P2PK, P2PKH, P2SH, P2WPKH, P2WSH, P2TR output script/address parser/generator/validator.
Supported types:
- Pay-To-PubKey (P2PK)
- Pay-To-PubKeyHash (P2PKH)
- Pay-To-Multisig (P2MS)
- Pay-To-ScriptHash (P2SH)
- Pay-To-WitnessPubKeyHash (P2WPKH)
- Pay-To-WitnessScriptHash (P2WSH)
- Pay-To-Taproot (P2TR)
- P2WPKH-over-P2SH
- P2WSH-over-P2SH
- any combination
Supported networks:
- Bitcoin
- Bitcoin Testnet
- Bitcoin Gold
- Bitcoin Cash
- Litecoin
- Litecoin Testnet
- Dogecoin
- Dogecoin Testnet
- Viacoin
- Viacoin Testnet
- Dash
- Dash Testnet
- Zcash
Installation
Examples
Generate a P2PK/P2PKH address:
Generate a P2MS address:
Generate a P2SH address:
Generate a P2WPKH address:
Generate a P2WSH address:
Generate a P2WPKH-over-P2SH address:
Generate a P2WSH-over-P2SH address:
Generate a P2TR address:
Generate an address from an output script:
Decode a Bitcoin address:
Get a Bitcoin address type:
Validate a Bitcoin address:
All versions of php-bitcoin-address with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-gmp Version *
btccom/cashaddress Version ^0.0.3
brooksyang/bech32m Version ^1.0
stephenhill/base58 Version ^1.1
shanecurran/phpecc Version ^0.0.1
ext-gmp Version *
btccom/cashaddress Version ^0.0.3
brooksyang/bech32m Version ^1.0
stephenhill/base58 Version ^1.1
shanecurran/phpecc Version ^0.0.1
The package andkom/php-bitcoin-address contains the following files
Loading the files please wait ....