blocktrail / blocktrail-sdk-php

BlockTrail's Developer Friendly PHP SDK for the BlockTrail API
MIT License
44 stars 49 forks source link

Failed to install inside Laravel 5.6 project #121

Open gansgunther opened 6 years ago

gansgunther commented 6 years ago

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.
hironate commented 6 years ago

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

markpenaranda commented 5 years ago

Any updates regarding this issue?

ameliegardiner commented 5 years ago

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