Composer uses agents to install dependencies
This article is about how Composer uses agents to install dependencies. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Recently, the Chinese image of composer has failed, which makes it impossible for many people to use composer normally.
Solving this problem is actually very simple. I used the free agent of Red Apricot.
The method is also easy to use. Here is the ubuntu system.
Open ~ / .bashrc and add at the end
Http_proxy= http://hx.gy:1080export http_proxy
Save and exit, then type source ~ / .bashrc
OK, now the network connection of our system will use this agent, and the installation speed is OK. Thank you, red apricot!
Thank you for reading! This is the end of this article on "how to install dependencies on Composer using agents". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!