You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ % cd $(mktemp -d)
tmp.cwO1AqLu % php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
tmp.cwO1AqLu % php composer-setup.php --filename=composer-2.3.10 --version=2.3.10
All settings correct for using Composer
Downloading...
Composer (version 2.3.10) successfully installed to: …/tmp.cwO1AqLu/composer-2.3.10
Use it: php composer-2.3.10
tmp.cwO1AqLu % php composer-setup.php --filename=composer-2.4.1 --version=2.4.1
All settings correct for using Composer
Downloading...
Composer (version 2.4.1) successfully installed to: …/tmp.cwO1AqLu/composer-2.4.1
Use it: php composer-2.4.1
Older versions let me list platform packages; this is useful in all kinds of scripts etc ("are the right extensions there", for instance):
tmp.cwO1AqLu % ./composer-2.3.10 show --platform
composer 2.3.10 Composer package
…
php 8.1.5 The PHP interpreter
php-64bit 8.1.5 The PHP interpreter, 64bit
php-ipv6 8.1.5 The PHP interpreter, with IPv6 support
Since 2.4., this errors:
tmp.cwO1AqLu % ./composer-2.4.1 show --platform
Composer could not find a composer.json file in /private/var/folders/n9/nlkmp1dn0x9616hsy3bb2z4m0000gq/T/tmp.cwO1AqLu
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
The text was updated successfully, but these errors were encountered:
Older versions let me list platform packages; this is useful in all kinds of scripts etc ("are the right extensions there", for instance):
Since 2.4., this errors:
The text was updated successfully, but these errors were encountered: