Home >Backend Development >PHP Tutorial >composer laravel 环境搭建

composer laravel 环境搭建

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-20 12:46:261196browse

安装Composer PHP包管理工具

官网: ttps://getcomposer.org  packagist.org

中文网: http://www.phpcomposer.com

建议使用国内用户使用 中文网镜像, 具体参考: http://pkg.phpcomposer.com/ (喷血推荐)

推荐全局安装:

composer config -g repositories.packagist composer http://packagist.phpcomposer.com

安装Laravel

官网: www.aravel.com

中文网: http://www.golaravel.com/ 做得还不错, 提供离线包, 国内用户的福利

参考官网安装教程: http://laravel.com/docs/5.1

composer global require "laravel/installer=~1.1"

添加bin路径到PATH中:  ~/.composer/vendor/bin

laravel new blog


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