简体   繁体   English

Laravel 5.5 到 Laravel 6.0

[英]Laravel 5.5 to Laravel 6.0

I want to upgrade the version our the laravel project from 5.5.46 to 6.* It is possible to upgrade it?我想将我们的 laravel 项目的版本从 5.5.46 升级到 6.* 可以升级吗? also the php version is still 7.0,.. how it upgrade it to php 7.4? php 版本仍然是 7.0,.. 它如何升级到 php 7.4? thanks,.谢谢,。 Anyone have experience of this and can hep me?任何人都有这方面的经验,可以帮助我吗?

You should upgrade step by step if you want everything gonna be ok, first since 5.5 > 5.6, then, upgrade 5.6 > 5.7.如果您希望一切正常,您应该逐步升级,首先从 5.5 > 5.6 开始,然后升级 5.6 > 5.7。 Some updates have a high impacts changes.一些更新具有高影响的变化。 Here is the official guide to upgrade your App:这是升级您的应用程序的官方指南:

https://laravel.com/docs/5.5/upgrade https://laravel.com/docs/5.5/upgrade

Upgrade the Laravel version need to take care of following things:升级Laravel版本需要注意以下几点:

Please review the upgrade guide docs: https://laravel.com/docs/5.5/upgrade请查看升级指南文档: https://laravel.com/docs/5.5/upgrade

For Compare the version code对于比较版本代码
https://github.com/laravel/laravel/compare/5.7...5.8 https://github.com/laravel/laravel/compare/5.7...5.8

Compare your laravel version with new desired version for double sure.将您的 laravel 版本与新的所需版本进行比较,以确保双重肯定。 All thigs are working properly.所有事情都正常工作。

You can check and switch the php version which you want for double sure.您可以确认并切换您想要的 php 版本。 How can I easily switch between PHP versions on Mac OSX? 如何在 Mac OSX 上的 PHP 版本之间轻松切换?

If you have phpunit test case then run that test case for double sure.如果您有 phpunit 测试用例,请运行该测试用例以确保双重安全。 if something is breaking then you align and all test case pass.如果出现问题,那么您对齐并且所有测试用例都通过。

Cheers you are on new php and new laravel version.为您使用新的 php 和新的 laravel 版本干杯。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM