- 下载composer,地址为:https://getcomposer.org/download
- 安装composer,
- 切换镜像,网址:https://pkg.phpcomposer.com/,
composer config -g repo.packagist composer https://packagist.phpcomposer.com //阿里云镜像可能稳定一些 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
-
composer create-project --prefer-dist laravel/laravel 目录名
-
composer create-project --prefer-dist laravel/laravel=5.7.* 目录名 //指定版本
-
composer self-update //更新composer
laravel 学习笔记一
最新推荐文章于 2024-01-28 10:33:50 发布