Why do I get a laravel error while creating a new project?

后端 未结 11 2094

When I type laravel new blog I get the following error.

In RequestException.php line 113:

Server error: GET http://cabinet.laravel.com/latest.zi

11条回答
  •  梦如初夏
    2021-02-01 02:17

    Do this:

    composer create-project laravel/laravel example-app
    

    if the following fails:

    composer global remove laravel/installer 
    composer global require laravel/installer
    

提交回复
热议问题