tenfef/btc_address_validator

Validate a BTC Address in PHP

dev-master 2015-04-15 03:04 UTC

This package is not auto-updated.

Last update: 2024-04-27 14:01:53 UTC


README

This package is deprecated. Please use: https://github.com/Jayco-Design/BTCHelper

A simple way to validate a bitcoin address in PHP easily.

$validator = new Btc_address_validator();
$result = $validator->validate("1Af3EHHrbYRwaj4dcbKKcBxYxc6Z8j7xMZ");

Installation

Install the library using composer:

Add the required module to your composer.json file:

{
    "require": {
        ...
        "tenfef/btc_address_validator": "dev-master"
        ...
    }
}

Then run the command composer update.

Donations/Tips can be sent here: 1Af3EHHrbYRwaj4dcbKKcBxYxc6Z8j7xMZ

GPL License.