laravel环境搭建

coding

安装Composer

  1. 安装Composer
  2. 修改 composer 的全局配置文件composer config -g repo.packagist composer https://packagist.phpcomposer.com
  3. 下载项目文件composer create-project laravel/laravel learnlaravel5 5.2.31
  4. 启动项目cd learnlaravel5/public,php -S 0.0.0.0:1024
  5. 开启注册登录功能php artisan make:auth
  6. 开启mysql服务sudo /usr/local/mysql/support-files/mysql.server start

以上是 laravel环境搭建 的全部内容, 来源链接: utcz.com/z/509038.html

回到顶部