Skip to content

Commit

Permalink
add composer.json
Browse files Browse the repository at this point in the history
add namespace
  • Loading branch information
yajiedesign committed Sep 10, 2013
1 parent 6f556c6 commit b1d5b5a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "yajiedesign/bitcoin-php",
"type": "library",
"description": "A Bitcoin library for PHP.",
"keywords": ["bitcoin", "php"],
"homepage": "http://code.gogulski.com.",
"license": "UNLICENSE",
"authors": [
{"name": "mikegogulski", "email": ""}
],
"require": {
"php": ">=5.3.2"
},
"autoload": {
"psr-0": { "bitcoin\\bitcoinphp": "src/" }
},
"extra": {
"branch-alias": {
"dev-master": "2.3.x-dev"
}
}
}
4 changes: 4 additions & 0 deletions src/bitcoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
*/

define("BITCOIN_ADDRESS_VERSION", "00");// this is a hex byte


namespace bitcoin\\bitcoinphp;

/**
* Bitcoin utility functions class
*
Expand Down

0 comments on commit b1d5b5a

Please sign in to comment.