使用laravel安装程序安装特定版本

编程入门 行业动态 更新时间:2024-10-28 04:29:16
本文介绍了使用laravel安装程序安装特定版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

到目前为止,如果我使用此命令

As of now, if I use this command

laravel new blog

它将使用最新版本(如5.2)创建一个laravel项目,但是如果我要安装特定版本,即该怎么办.版本5.1?

It will create a laravel project with the latest version like 5.2, but what if I want to install a specific version, ie. version 5.1?

更新::我正在寻找laravel installer命令,特定版本的安装是否有任何选项/参数?

UPDATE:: I am looking for laravel installer command, is there is any option/parameter for specific version installation?

推荐答案

使用作曲家,您可以通过运行轻松指定所需的版本

Using composer you can specify the version you want easily by running

composer create-project laravel/laravel="5.1.*" myProject

使用5.1.*将确保您在5.1分支中获得所有最新补丁.

Using the 5.1.* will ensure that you get all the latest patches in the 5.1 branch.

更多推荐

使用laravel安装程序安装特定版本

本文发布于:2023-10-24 17:36:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1524581.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   版本   laravel

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!