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");
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.