Solve the timeout problem of laravel during composer install

藏色散人
Release: 2022-01-26 16:54:51
forward
3052 people have browsed it

This article is written by the composer tutorial column to introduce how to solve the timeout problem of laravel composer install. I hope it will be helpful to friends in need!

Brand new unopened laravel, after Ubuntu runs composer install, other expansion packages can go smoothly After installation, halfway through the car, a lump suddenly popped out timeout
the *****&^%$%$##@#@#$%^^ 'https://github.com/bobthecow/psysh.git' $%^&**((()&^&^%%$$## timeout
Copy after login

Yes! That's right, it's probably the one above.

How can we not change the source at this time!

composer config -g repo.packagist composer https://packagist.phpcomposer.com
Copy after login

What the hell, it still doesn’t work after changing the source, it’s time to pull out github and worship the gods! [Related recommendations: laravel video tutorial]

Go to github to find the previous project source, switch to the version required by the framework, yes, I am shameful download ZIP, as shown below

Solve the timeout problem of laravel during composer install

After downloading, upload it to the project vendor, unzip it, and it’s done in one go~
……………………
Run againcomposer install
…………………………………………

As everyone guessed, the palace is closed perfectly~

Package The location is as follows

Solve the timeout problem of laravel during composer install

The above is the detailed content of Solve the timeout problem of laravel during composer install. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!