Why can't php - composer be downloaded? Even if it is downloaded, an error will still be reported. What's going on?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-24 11:30:58
0
4
547

Why can’t composer be downloaded? Even if it is downloaded, an error will be reported. What’s going on?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(4)
淡淡烟草味

There are pictures and there is truth, we can’t just make guesses

为情所困

There may be something wrong with the json format, please check it carefully

刘奇

Install manually:

  1. DownloadPHP(Address: http://windows.php.net/download),配置好 php.ini and add the PHP directory to the system environment variable PATH

  2. Download composer.phar(Address: https://getcomposer.org/composer.phar),将文件放进PHP目录下,并且新建文本文件 composer.cmd,内容:@php "%~dp0composer.phar" %*.

  3. Open the command prompt and enter composer --version Check the composer version to confirm whether the command can be executed.

  4. Execute composer config -g repo.packagist composer https://packagist.phpcomposer.com in the command prompt and rewrite the Packagist mirror to the domestic mirror to speed up downloading.

  5. Enjoy Yourself!

  • EOF -

曾经蜡笔没有小新

Domestic mirror

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template