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
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
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 shamefuldownload ZIP
, as shown below
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