Solve the verification problem when installing laravel with composer

藏色散人
Release: 2020-07-30 13:09:29
forward
3204 people have browsed it

The following tutorial column of composer will introduce to you how to solve the problems that need to be verified when installing laravel with composer. I hope it will be helpful to friends in need!

Solve the verification problem when installing laravel with composer

# Why do I need to verify when installing laravel with composer?

I used the Chinese image source and followed the official composer command.

When installing laravel, the following error occurs. Why? It used to be fine when I installed it on another computer, but now I have a different computer. How to solve this problem?

[www@localhost composer]$ composer global require "laravel/installer"
Changed current directory to /home/www/.config/composer
Using version ^2.0 for laravel/installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
                                             
    Authentication required (packagist.phpcomposer.com):
      Username: 
      Password:
Copy after login

Solution:

Fill in your github account password, or change to another source https://packagist.laravel-china.org.

The above is the detailed content of Solve the verification problem when installing laravel with composer. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:xueyuanjun.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!