<p>Since <a href="https://github.com/Bit-Wasp/bitcoin-php" rel="nofollow noreferrer"><code>Bit-Wasp/bitcoin-php</code></a> has its own <a href="https://github.com/Bit-Wasp/bitcoin-php/blob/master/composer.json" rel="nofollow noreferrer"><code>composer.json</code> file</a>, after cloning you should just run:</p>

<pre><code>composer install
</code></pre>

<p>If there is still some issue, run the following command to diagnose the problem:</p>

<pre><code>composer self-update
composer diagnose
</code></pre>

<p>Otherwise <a href="https://github.com/Bit-Wasp/bitcoin-php/issues" rel="nofollow noreferrer">report it at the project page</a>.</p>

CC BY-SA 3.0
2017-09-25T15:47:00.877Z
2017-09-25T15:47:00.877Z
kenorb
<p>You have to clear composer.json and try again.</p>

CC BY-SA 3.0
2017-04-09T14:03:07.123Z
Hi
Thank you for reply.
Not able to understand correctly about clear composer.json.
What exacts i have to do.
Mayur Dhudasia
CC BY-SA 3.0
2017-04-05T12:23:35.850Z
2017-04-05T12:23:35.850Z
perist
<p>I am using code from <a href="https://github.com/Bit-Wasp/bitcoin-php" rel="nofollow noreferrer">GitHub</a>.</p>

<p>Once I run composer its gives error as:</p>

<blockquote>
  <p>C:\wamp64\www\bitcoin-php-master>composer require bitwasp/bitcoin
  Using version v0.0.33.1 for bitwasp/bitcoin
  ./composer.json has been updated
  Loading composer repositories with package information
  Updating dependencies (including require-dev)
  Your requirements could not be resolved to an installable set of packages.</p>
</blockquote>

<p>Problem 1
    - The requested package bitwasp/bitcoin No version set (parsed as 1.0.0) is
satisfiable by bitwasp/bitcoin[No version set (parsed as 1.0.0)] but these confl
ict with your requirements or minimum-stability.</p>

<blockquote>
  <p>Installation failed, reverting <code>./composer.json</code> to its original content.</p>
</blockquote>

<p><a href="https://i.sstatic.net/umk6h.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/umk6h.jpg" alt="enter image description here"></a></p>

<php>
To create a new bitcoin address cloned Bit-Wasp/bitcoin-php code
Mayur Dhudasia
# To create a new bitcoin address cloned Bit-Wasp/bitcoin-php code

(Asked by: username_0 on 2017-03-20)

I am using code from [GitHub](https://github.com/Bit-Wasp/bitcoin-php).

Once I run composer its gives error as:

> C:\wamp64\www\bitcoin-php-master>composer require bitwasp/bitcoin
> Using version v0.0.33.1 for bitwasp/bitcoin
> ./composer.json has been updated
> Loading composer repositories with package information
> Updating dependencies (including require-dev)
> Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package bitwasp/bitcoin No version set (parsed as 1.0.0) is
satisfiable by bitwasp/bitcoin[No version set (parsed as 1.0.0)] but these confl
ict with your requirements or minimum-stability.

> Installation failed, reverting `./composer.json` to its original content.

[![enter image description here](https://i.sstatic.net/umk6h.jpg)](https://i.sstatic.net/umk6h.jpg)

**Tags:** php


---

## 2 answers

### Answer by username_1 on 2017-09-25. Score: 1

Since [`Bit-Wasp/bitcoin-php`](https://github.com/Bit-Wasp/bitcoin-php) has its own [`composer.json` file](https://github.com/Bit-Wasp/bitcoin-php/blob/master/composer.json), after cloning you should just run:

```
composer install

```

If there is still some issue, run the following command to diagnose the problem:

```
composer self-update
composer diagnose

```

Otherwise [report it at the project page](https://github.com/Bit-Wasp/bitcoin-php/issues).


---

### Answer by username_2 on 2017-04-05. Score: 0

You have to clear composer.json and try again.

> **Comments:**
> **username_0**: Hi Thank you for reply. Not able to understand correctly about clear composer.json. What exacts i have to do.  

---

