blocktrail-sdk-php icon indicating copy to clipboard operation
blocktrail-sdk-php copied to clipboard

Failed to install inside Laravel 5.6 project

Open gansgunther opened this issue 6 years ago • 3 comments

When try to install blocktrail sdk inside of Laravel 5.6 project I have that problem:

composer require blocktrail/blocktrail-sdk
Using version ^3.2 for blocktrail/blocktrail-sdk
./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
    - Installation request for bitwasp/bitcoin (locked at v0.0.35.0) -> satisfiable by bitwasp/bitcoin[v0.0.35.0].
    - blocktrail/blocktrail-sdk v3.2.0 requires bitwasp/bitcoin v0.0.34.1 -> satisfiable by bitwasp/bitcoin[v0.0.34.1].
    - blocktrail/blocktrail-sdk v3.2.1 requires bitwasp/bitcoin v0.0.34.1 -> satisfiable by bitwasp/bitcoin[v0.0.34.1].
    - blocktrail/blocktrail-sdk v3.2.2 requires bitwasp/bitcoin v0.0.34.1 -> satisfiable by bitwasp/bitcoin[v0.0.34.1].
    - Conclusion: don't install bitwasp/bitcoin v0.0.34.1
    - Installation request for blocktrail/blocktrail-sdk ^3.2 -> satisfiable by blocktrail/blocktrail-sdk[v3.2.0, v3.2.1, v3.2.2].


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

gansgunther avatar Jun 11 '18 20:06 gansgunther

I have same issue. plz do something about this, this man has created PR https://github.com/blocktrail/blocktrail-sdk-php/pull/113

hironate avatar Jul 16 '18 20:07 hironate

Any updates regarding this issue?

markpenaranda avatar Sep 29 '18 05:09 markpenaranda

That is because of bitwasp/bitcoin: v0.0.34.1 you wont be able to install this package. It requires Package symfony/http-foundation: ^2.7|^3.0, but Laravel starting from v5.3 uses higher versions of symfony/http-foundation. Maybe someone can fix this issue? I dont want to live always on PHP versions < 7.2

ameliegardiner avatar Oct 03 '18 14:10 ameliegardiner