Composer download dependency, error report

when using composer download dependencies, it is always reported that the connection attempt failed because the connecting party did not reply correctly or the connected host did not respond after a period of time

related codes

PS E:wwwroot3dnote > composer require yiisoft/yii2-gii
Using version ^ 2.0 for yiisoft/yii2-gii
. / composer.json has been updated
Loading composer repositories with package information
The "https://packagist.phpcomposer.com/packages.json" file could not be downloaded: failed to open stream: failed because the connecting party did not reply correctly or the connected host did not respond after a period of time.

https://packagist.phpcomposer. could not be fully loaded, package information was loaded from the local cache and may be out of date

Php
Apr.02,2021

phpcomposer is not normal these days. You can also replace it with this image


needs to be solved across domains. You can use https://www.phpcomposer.com/ to try


some dependencies have to climb the wall. It's ridiculous. No one donates money to composer. It will be cool sooner or later


packagist.phpcomposer.com this is unstable and often hangs up. It is recommended to change an image and execute the following command:
composer config -g repo.packagist composer https://packagist.laravel-china.org
-sharp  composer 
composer selfupdate
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b41cbf-2bd3c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b41cbf-2bd3c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?