Cannot create cache directory /home/.cache/composer/repo/https---mirrors.aliyun.com-composer/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/.cache/composer/repo/https---asset-packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/.cache/composer/files/, or directory is not writable. Proceeding without cache
./composer.json is not writable.
这是因为您的PHP 版本高于 或者 不匹配composer.json要求的版本
运行 忽略
composer install --ignore-platform-reqs