composer create-project topthink/think=5.1.* tp5 安装 5.1 的好像还是有问题(如下):
Failed to extract topthink/framework: (9) unzip -qq '/home/fdj/tp5/vendor/composer/tmp-2e11e0324ad62428d530f06a3aea3784' -d '/home/fdj/tp5/vendor/composer/fa090602'
unzip: cannot find or open /home/fdj/tp5/vendor/composer/tmp-2e11e0324ad62428d530f06a3aea3784.
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See
https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix