美文网首页
Laravel学习环境配置

Laravel学习环境配置

作者: hament | 来源:发表于2017-05-14 18:43 被阅读8次

环境配置


一,使用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

相关文章

网友评论

      本文标题:Laravel学习环境配置

      本文链接:https://www.haomeiwen.com/subject/ucfenttx.html