iexbase / tron-api

A PHP API for interacting with Tron (TRX)
https://iexbase.github.io/tron-api/
MIT License
417 stars 301 forks source link

php8支持 #184

Open skyfiress opened 1 year ago

skyfiress commented 1 year ago

框架依赖comely-io/data-types这个库,而这个库不支持php8,所以经常报错。

ygcool commented 1 year ago

所以文档在安装命令中,composer后面加了--ignore-platform-reqs

ywisax commented 4 months ago

不太行。。。


  Problem 1
    - iexbase/tron-api v5.0 requires iexbase/web3.php ^2.0.1 -> satisfiable by iexbase/web3.php[2.0.1].
    - iexbase/tron-api[v1.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6, v1.3.7, v2.0.1, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7] require guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.6, 6.5.7, 6.5.8] but it conflicts with your root composer.json require (7.7.0).
    - iexbase/tron-api[v3.0, v3.1.1, v3.1.2, 4.0, 4.0.1] require kornrunner/secp256k1 ^0.1.2 -> found kornrunner/secp256k1[0.1.2] but it conflicts with your root composer.json require (0.2.0).
    - iexbase/web3.php 2.0.1 requires phpseclib/phpseclib ~2.0.11 -> found phpseclib/phpseclib[2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.24, 2.0.25, 2.0.26, 2.0.27, 2.0.28, 2.0.29, 2.0.30, 2.0.31, 2.0.32, 2.0.33, 2.0.34, 2.0.35, 2.0.36, 2.0.37, 2.0.38, 2.0.39, 2.0.40, 2.0.41, 2.0.42, 2.0.43, 2.0.44, 2.0.45, 2.0.46, 2.0.47] but it conflicts with your root composer.json require (3.0.37).
    - Root composer.json requires iexbase/tron-api * -> satisfiable by iexbase/tron-api[v1.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6, v1.3.7, v2.0.1, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v3.0, v3.1.1, v3.1.2, 4.0, 4.0.1, v5.0].