Home > Backend Development > PHP Tutorial > windows下laravel5安装

windows下laravel5安装

WBOY
Release: 2016-06-23 13:31:59
Original
797 people have browsed it

第一步:安装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}            ]        }
Copy after login
下载就是通过国内镜像下载,速度会快很多

Related labels:
source:php.cn
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