使用Composer安装旧版本的Laravel [英] Install Older Version of Laravel using Composer
本文介绍了使用Composer安装旧版本的Laravel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用composer安装较旧版本的Laravel框架?当前版本是4.1,我想安装Laravel 4.0.
How do I install older version of Laravel framework using composer? The current version is 4.1 and I want to install Laravel 4.0.
推荐答案
最后成功了,我只做了四件事:
Finally it works, I just did four things:
composer create-project laravel/laravel mobilebanking 4.0
composer create-project laravel/laravel mobilebanking 4.0
在composer.json中将"dev"更改为"stable"
Change "dev" to "stable" in composer.json
然后运行
作曲者自我更新
composer self-update
然后,运行此命令
作曲家更新-无脚本
composer update --no-scripts
这篇关于使用Composer安装旧版本的Laravel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文