Home  >  Article  >  Development Tools  >  Detailed explanation of Composer using agent to install dependencies

Detailed explanation of Composer using agent to install dependencies

藏色散人
藏色散人forward
2020-11-24 15:02:472913browse

The following tutorial column will introduce to you how Composer uses agents to install dependencies. I hope it will be helpful to friends in need!

Recently, the Chinese image of composer has been down, causing many people to be unable to use composer normally.

Solving this problem is actually very simple. I used Hongxing’s free proxyDetailed explanation of Composer using agent to install dependencies


The method of use is also very simple. The following is the ubuntu system

Detailed explanation of Composer using agent to install dependenciesOpen

~/.bashrc

, then add

http_proxy=http://hx.gy:1080
export http_proxy

at the end to save and exit, then enter source ~/.bashrc to

OK, Now our system's network connection will use this agent, and the installation speed is okay. Thanks Hongxing!

The above is the detailed content of Detailed explanation of Composer using agent to install dependencies. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:learnku.com. If there is any infringement, please contact admin@php.cn delete