Fenguoz / bsc-php

Support Binance Smart Chain BNB/BEP20 digital assets, including address creation, balance query, transaction transfer, query the latest blockchain, query information based on blockchain, query information based on transaction hash, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sop/asn1 update needed

aliqasemzadeh opened this issue · comments

Hi
When I want to install it I get this error.
Please update sop/asn1.

Problem 1
- Root composer.json requires fenguoz/bsc-php ^0.1.0 -> satisfiable by fenguoz/bsc-php[0.1.0].
- fenguoz/bsc-php 0.1.0 requires sop/asn1 ^3.3 -> found sop/asn1[3.3.0, ..., 3.4.3] but it conflicts with your root composer.json require (^4.1).

PHP version?

composer require fenguoz/bsc-php ~2.0

@Fenguoz

 Problem 1
    - Root composer.json requires fenguoz/bsc-php ~2.0 -> satisfiable by fenguoz/bsc-php[2.0.0].
    - fenguoz/bsc-php 2.0.0 requires sop/asn1 ^3.3 -> found sop/asn1[3.3.0, ..., 3.4.3] but it conflicts with your root composer.json require (^4.1).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific version

Yet I get this error.
also

    - Root composer.json requires fenguoz/bsc-php ~2.0 -> satisfiable by fenguoz/bsc-php[2.0.0].
    - fenguoz/bsc-php 2.0.0 requires guzzlehttp/guzzle ~6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.2).

tag2.1.0 :Optimize the low version of guzzle.

@Fenguoz
Then we need to
composer require fenguoz/bsc-php ~2.1

Also I did : https://github.com/aliqasemzadeh/bsc-php to get work in php 8.2 and laravel 9.