hanfeng.name

I am a software engineer with interests in web applications.

Composer

参考链接

全局安装:

$ curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer

Composer 中国镜像

采用

composer 的全局配置文件

Windows上安装

https://getcomposer.org/doc/00-intro.md#installation-windows

遇到的坑: php.ini 要把php_openssl打开。

简单实用

composer require phpspec/phpspec
composer create-project laravel/laravel learning-laravel-5

Comments