标签:命令行 bsp win7安装 install license epo type 运行 conf
使用Packagist 镜像
建立一个composer.json文件,内容如下:
{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": ">=5.5.9", "laravel/framework": "5.2.*" }, "config": { "preferred-install": "dist" }, "repositories": { "packagist": { "type": "composer", "url": "https://packagist.phpcomposer.com" } } }
通过 Composer 在命令行运行 create-project
命令来安装 Laravel:
composer create-project --prefer-dist laravel/laravel blog
这样就安装了一个blog项目
标签:命令行 bsp win7安装 install license epo type 运行 conf
原文地址:http://www.cnblogs.com/hltswd/p/7087477.html