Download the PHP package linusu/bitcoin-address-validator without Composer
On this page you can find all versions of the php package linusu/bitcoin-address-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download linusu/bitcoin-address-validator
More information about linusu/bitcoin-address-validator
Files in linusu/bitcoin-address-validator
Download linusu/bitcoin-address-validator
More information about linusu/bitcoin-address-validator
Files in linusu/bitcoin-address-validator
Vendor linusu
Package bitcoin-address-validator
Short Description A simple, easy to use PHP Bitcoin address validator
License MIT
Homepage http://github.com/LinusU/bitcoin-address-validator
Package bitcoin-address-validator
Short Description A simple, easy to use PHP Bitcoin address validator
License MIT
Homepage http://github.com/LinusU/bitcoin-address-validator
Please rate this library. Is it a good library?
Informations about the package bitcoin-address-validator
php-bitcoin-address-validator
A simple, easy to use PHP Bitcoin address validator
Usage
Quick start:
API
isValid($addr, $version)
$addr
: A bitcoin address$version
: The version to test against, defaults toMAINNET
Returns a boolean indicating if the address is valid or not.
typeOf($addr)
$addr
: A bitcoin address
Returns the type of the address.
Constants
The library exposes the following constants.
MAINNET
: Indicates any mainnet address typeTESTNET
: Indicates any testnet address typeMAINNET_PUBKEY
: Indicates a mainnet pay to pubkey hash addressMAINNET_SCRIPT
: Indicates a mainnet pay to script hash addressTESTNET_PUBKEY
: Indicates a testnet pay to pubkey hash addressTESTNET_SCRIPT
: Indicates a testnet pay to script hash address
All versions of bitcoin-address-validator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package linusu/bitcoin-address-validator contains the following files
Loading the files please wait ....