Laravel学习环境配置

2017-05-14  本文已影响8人  hament

环境配置


一,使用homestead

http://t.laravel-china.org/laravel-tutorial/5.1/guide

二,使用官方提供的valet

Homebrew, php ,Composer(全局或局部使用镜像),MariaDB
http://www.jianshu.com/p/4a7719c22c70
注意: 在执行完

//通过composer下载valet
$ composer global require laravel/valet

后需要检查环境变量是否包含valet,没有的话需要临时添加
Yes, you need to make sure that ~/.composer/vendor/bin directory is in your system's PATH, you can check this by running:

echo $PATH

If you can't see it there, then you need to add this to your ~/.bash_profile:

export PATH=$PATH:~/.composer/vendor/bin
上一篇 下一篇

猜你喜欢

热点阅读