Skip to content

Commit

Permalink
update instructions for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
doersf committed Oct 9, 2014
1 parent 335c4f8 commit 4cbdfe4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1,506 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Block.io PHP
===========

**Requirement**: PHP 5.5.0 or greater

**Current Release**: 1.0.4

**10/08/14**: Added 3 of 4 MultiSig example.
Expand All @@ -12,12 +10,23 @@ PHP wrapper for [Block.io](https://block.io/) for use with [Dogecoin](http://dog

### Requirements

This library requires the 'mcrypt' and 'gmp' extensions for PHP. To enable these extensions, see:
This library requires the 'mcrypt', 'gmp', and cURL extensions for PHP. To enable these extensions, see:

[mCrypt Installation Guide](http://php.net/manual/en/mcrypt.installation.php)

[GMP Installation Guide](http://php.net/manual/en/gmp.installation.php)

[cURL Installation Guide](http://php.net/manual/en/curl.installation.php)

### Warning

If you're using Windows, beware that SSL will not function properly, and this library will throw errors.

To fix the SSL issue on Windows, please do the following:

Download http://curl.haxx.se/ca/cacert.pem to a directory of your choice
Make PHP use this file to validate Block.io's SSL certificate by adding this line to your php.ini:
curl.cainfo=c:\path\to\cacert.pem

### Usage

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "block_io-php/block_io-php",
"license": "MIT",
"version": "1.0.5",
"version": "1.0.6",
"description": "Block.io is the easiest way to create wallets, send, and accept payments through Bitcoin, Litecoin, and Dogecoin. This is its PHP library.",
"keywords": ["block.io", "dogecoin", "bitcoin", "litecoin", "block_io"],
"homepage": "https://block.io",
"type": "library",
"require": {
"php": ">=5.5.0",
"php": ">=5.4.0",
"ext-curl": "*"
},
"autoload": {
Expand Down
Loading

0 comments on commit 4cbdfe4

Please sign in to comment.