danwe/bitcoin-address
最新稳定版本:1.0.0
Composer 安装命令:
composer require danwe/bitcoin-address
包简介
Simple PHP Danwe\Bitcoin\Address class for value objects representing bitcoin addresses.
README 文档
README
Introduces a simple class Danwe\Bitcoin\Address for immutable value objects representing bitcoin addresses.
Requirements
- PHP 5.4 or later
Installation
Composer can be used to download and install this package as well as its dependencies.
To add this package as a local, per-project dependency to your project, simply add a
dependency on danwe/bitcoin-address to your project's composer.json file.
Here is a minimal example of a composer.json file that just defines a dependency on
bitcoin-address 1.0.x:
{
"require": {
"danwe/bitcoin-address": "~1.0.0"
}
}
Usage
Library Structure
All classes are located in the ParserHooks namespace, which is PSR-4 mapped onto the src/ directory.
Tests
This library comes with a set up PHPUnit test suite. After installation via composer, tests can be
run by running php <project-dir>/vendor/bin/phpunit.
Authors
bitcoin-address has been written by Daniel A. R. Werner.
Release notes
1.0.0
- Initial release.
TODOs:
- Support for testnet addresses, either in this or in a separate package.
Links
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-12