PHP 8 SUPPORT
[InvalidArgumentException]
Package iexbase/tron-api has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [
root@ming:/sdb1/wwwroot/bscrc.ming# composer require iexbase/tron-api --ignore-platform-reqs Using version ^4.0 for iexbase/tron-api ./composer.json has been updated Running composer update iexbase/tron-api Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - iexbase/tron-api[4.0, ..., 4.0.1] require guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.3.0] but the package is fixed to 6.5.5 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - Root composer.json requires iexbase/tron-api ^4.0 -> satisfiable by iexbase/tron-api[4.0, 4.0.1].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
--ignore-platform-reqs
same issue
--ignore-platform-reqs works for me