Home  >  Article  >  Backend Development  >  windows下laravel5安装

windows下laravel5安装

WBOY
WBOYOriginal
2016-06-23 13:31:59730browse

第一步:安装composer    网上教程很多,自行百度

第二步:使用composer create-project laravel/laravel learnlaravel5 5.0.22   进行laravel5的下载,国内下载速度龟速,一般会失败,所以常识以下操作

:通过 composer config -l -g 命令可以列出 composer 的全局配置信息

如果找不到的话文件夹可能被隐藏了,需要显示隐藏的文件夹

然后修改config.json

        {            "config": {            },            "repositories": [                {"type": "composer", "url": "http://pkg.phpcomposer.com/repo/packagist/"},                {"packagist": false}            ]        }
下载就是通过国内镜像下载,速度会快很多

Statement:
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