Have you tried to upgrade the composer version ?
Composer Can't works
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1 - lcobucci/jwt is locked to version 4.3.0 and an update of this package was not requested. - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. Problem 2 - teamtnt/tntsearch is locked to version v2.9.0 and an update of this package was not requested. - teamtnt/tntsearch v2.9.0 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension. Problem 3 - lcobucci/jwt 4.3.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. - league/oauth2-server 8.4.0 requires lcobucci/jwt ^3.4.6 || ^4.0.4 -> satisfiable by lcobucci/jwt[4.3.0]. - league/oauth2-server is locked to version 8.4.0 and an update of this package was not requested.
To enable extensions, verify that they are enabled in your .ini files:
- C:\laragon\bin\php\php-8.2.3-nts-Win32-vs16-x64\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-sodium --ignore-platform-req=ext-pdo_sqlite to temporarily ignore these required extensions.
Why i can't install composer? someone can help me ?
Please or to participate in this conversation.