Тёмный

Upgrade to Laravel 9 with Laravel Shift: Live Demo 

Laravel Daily
Подписаться 145 тыс.
Просмотров 12 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@smith4591
@smith4591 2 года назад
Tools like this can keep the Laravel alive for generations. This is the first time of me hearing about this.
@koldovalnya
@koldovalnya 2 года назад
I am surpriced that programmers can create such a cool tool like Laravel Shift nowadays. So, of course, I'd pay for that cuz it worth it! Thanks for the video :)
@koldovalnya
@koldovalnya 2 года назад
And, I would accept all changes - why not? It's cool to keep code in some coding styles accepted at the top level
@ryanb509
@ryanb509 2 года назад
With all the projects you do you should look for the docker version. Only twice as much but then it runs locally on your own machine using docker so you can easily rerun it with a new project without having to pay for each repo.
@syamjulio3685
@syamjulio3685 2 года назад
If the cases is like yours (update to match L9 style), then I'll gladly merge it. Because it will make the code standard across the project. Especially for auto generated file like migration. Aside from that, newer version of Laravel will continue to improve the previous version, including stuff like naming etc. By merging it, I think we'll prepare the app for the future as well. My main consideration will be, will it broke my app? If no, then I'll gladly merge it.
@genechristiansomoza4931
@genechristiansomoza4931 2 года назад
You have to buy it and find out.
@tinmancode
@tinmancode 2 года назад
You don't have to buy it to find out. It's more of what's the case. cos if ain't broke then don't fix it. Equally you wouldn't get this for a one of code project you were playing with. But if you do have a long term project with some requirements that are only possible or easier when you upgrade them getting it makes total sense. And you have to consider the technical benefit of having consistency and standardization in your code base to be flixible. One you go through the effort of getting your code base into the right shape for such a tool. It simplifies and standardizes much of your future work. Why do all teslas look nearly the same or spaceX recently flew a falcon heavy booster as a full falcon 9 rocket. Even if you don't get such a product for your code base now. At least consider the relevance of making it suitable for tomorrow's code base or even making the effort to refactor given your health and brain extra points for the future
@LukasKristian
@LukasKristian 2 года назад
I would say it’s worth it. And you also supoorting his open source blueprint project. One of the project that I mainly used before using quick admin panel.
@barnabynorman157
@barnabynorman157 Год назад
Just inherited a project on L5.4 - not looking forward to any option but excited by shift - I may come out the other end with a nice clean working system - defo run all the changes offered as its had various fingers poking inside leaving a trail of mess! ;-)
@fredrickmakoffu2412
@fredrickmakoffu2412 Год назад
Did you ever do this? Were you successful? I'm also considering Shift right now
@barnabynorman157
@barnabynorman157 Год назад
@@fredrickmakoffu2412 no - the business is prioritising new development over stability! Let me know if you try it as at the moment it seems my only option
@Z4KIUS
@Z4KIUS 2 года назад
making old code only work without respecting other changes may hurt later making future upgrades harder, just like technically you can ignore deprecation warnings now but you will have to take care of them at some point so why not do that as soon as they appear?
@fw7777vasd
@fw7777vasd 2 года назад
It's an interesting tool but does it handle custom project structure or just standard one? I guess I would use it if a project is really big and worth it. The PHP CS Fixer does most of these changes automatically. If I upgrade a project I usually use the PHPStorm power to refactor all the changes. I add Laravel repo as an additional origin and just diff-compare everything like default files, configs and etc in a moment.
@hienk48pdl
@hienk48pdl 2 года назад
Does Laravel Shift also update my own code in Laravel project? For example, PHP 5 code (syntax, method...) to PHP 8
@coolcha
@coolcha 2 года назад
Would love to see a video on how to switch from Laravel UI to Laravel Breeze/Jetstream. I know that Breeze/Jetstream are meant to be used for new projects but would be nice to get the newer features of Breeze/Jetstream in these legacy projects.
@LaravelDaily
@LaravelDaily 2 года назад
Breeze has actually the same amount of functionality as UI. So why switch? You prefer Tailwind over Bootstrap? And Jetstream is a totally other league, it's a full application and not starter kit. It's like upgrading from 1980 vw golf to 2022 tesla.
@coolcha
@coolcha 2 года назад
@@LaravelDaily yes was wondering if the switch to Tailwind is too difficult. Tailwind has better dark mode support for example compared to Bootstrap.
@LaravelDaily
@LaravelDaily 2 года назад
Switch to Tailwind means rewriting the whole thing completely. It's like switching from motorbike to a boat, totally different things.
@coolcha
@coolcha 2 года назад
@@LaravelDaily Too much work for too little reward I suppose. Thanks for taking your time though to at least response. I really appreciate all your videos. 🙏
@tinmancode
@tinmancode 2 года назад
I have some automátions because I've been moving and old code base started by someone and it has kinks that I'm still finding out. Shift would definitely be a good tool to have if I did not have my own automation scripts. It does take me longer about a day from validation on local then staging validation with tests and letting the staging run for a few hours without issues before prod deployment
@webpakistan9589
@webpakistan9589 2 года назад
what would tool do if newer version of package is not available . I mean fo unofficial packages
@LaravelDaily
@LaravelDaily 2 года назад
Would make a comment on this, probably, but still make a pull request with other upgrades
@webpakistan9589
@webpakistan9589 2 года назад
@@LaravelDaily great thanks
@toomass2668
@toomass2668 2 года назад
Would I pay 19$ for it? Absolutely. Obviously this is not for beginner project (Basic CRUDs etc) Yes you can use it for those types of projects as well but as you said as well, it will not be worth for small projects. But if you do have mid-sized project and above then I think this is so worth. Best part is, you can accept and decline suggestions as well. Would I accept all changes? Based on what I saw on your video, Yes.
@GergelyCsermely
@GergelyCsermely 2 года назад
Thanks. If i have free time, then yes would do upgrade.
@tetleyk
@tetleyk 2 года назад
Just tried this on my current project and it almost worked. See, I'm using laravel-modules to split my application into logical sections and whilst Laravel Shift correctly (almost) converted the "standard" part of the app to L9, the modules part was ignored. This "module confusion" also cause an error since the use statement pointing to the user class (in one of the modules) at the top of config/auth.php was removed. Thus the application could no longer find the user class and the authentication failed. An easy fix but should really have been left alone since there were warnings in the pull request stating that some things could not be processed due to the modular nature of the app. Still, it did a pretty good job and I can tidy up the modules manually easily enough. Certainly worth the $19 or whatever that is in real money (GBP) .
@tinmancode
@tinmancode 2 года назад
You crazy 😂👍🏾
@syamjulio3685
@syamjulio3685 2 года назад
Did you use laravel-modules by nwidart?
@tetleyk
@tetleyk 2 года назад
@@syamjulio3685 Yes, that's the one. It needs to be modified slightly to work properly as it is not updated very often, but it works well enough for my purposes.
@syamjulio3685
@syamjulio3685 2 года назад
@@tetleyk do you mind telling me what frontend you use? I want to use inertiajs svelte for the frontend. Do you think it's possible?
@HashimAziz1
@HashimAziz1 2 года назад
How big's your project and how many changes did you see? I have a feeling my project will be too small to see a lot of changes, so the 15 quid might just work out at £5 a line.
@bagusSetyawan95
@bagusSetyawan95 2 года назад
never like to use auto upgrade tools for code
@niunaiyi
@niunaiyi 2 года назад
quickadminpanel support laravel9?
@LaravelDaily
@LaravelDaily 2 года назад
We should release Laravel 9 support in the next few days.
@aqssoft
@aqssoft 2 года назад
Laravelshift Can upgrade Laravel7.x to Laravel9 ?
@LaravelDaily
@LaravelDaily 2 года назад
Yes, but not directly. First, from 7 to 8, then from 8 to 9.
@aqssoft
@aqssoft 2 года назад
@@LaravelDaily Thank you for the quick response highly appreicated it.
@epicurus878
@epicurus878 2 года назад
Does it check the vendor folder?
@LearnWithHibaNoor
@LearnWithHibaNoor 2 года назад
No need to manually update the vendor files. Just update the version number of package in composer.json to the latest version, and files of that package in vendor folder will automatically be refreshed after runing "composer update" command. That's how updating packages works.
@epicurus878
@epicurus878 2 года назад
@@LearnWithHibaNoor there are lots of packages that hasn't updated to 9. That's why I'm asking.
@LearnWithHibaNoor
@LearnWithHibaNoor 2 года назад
@@epicurus878 Ok. If in case any of the packages you use doesn't support laravel v9, then you can create an "issue" on github of that package.
@epicurus878
@epicurus878 2 года назад
@@LearnWithHibaNoor You didn't answer the question.
@Ibenyeugbala
@Ibenyeugbala 2 года назад
It won't touch the vendor file...cos the vendor file doesn't even make it to GitHub
@debjit21
@debjit21 2 года назад
I think laravel should have a upgrade module or compatibility module before they release to a new laravel version. Why NOT? is my question. I mean even windows have a free upgrade tool !
@Samuel.Mwangi
@Samuel.Mwangi 2 года назад
An upgrade tool would be helpful but given every Laravel project is different from the next and each developer adopts different styles and syntax. An upgrade tool would therefore be complex to maintain and therefore agree with the maintainers decision to offer an upgrade guide with each release instead. JMac's Laravel shift is amazing and slightly opinionated and given the heat generated by Jetstream with L8 might be best done by the community as opposed to a first party tool. My 2 cents 😁
@debjit21
@debjit21 2 года назад
@@Samuel.Mwangi Thats why we need opensource.
@LaravelDaily
@LaravelDaily 2 года назад
But open source needs to survive somehow, creating such upgrade tool (and maintaining it constantly!) is VERY time consuming, who would pay for that time? In the end it would end up as a paid tool like Forge or Nova, just officially supported.
@debjit21
@debjit21 2 года назад
@@LaravelDaily I guess we need some middle ground basic free package to update repo but need more advanced L9 compatible code? join paid. But we don't have any option except to do it all with our hands or start a new project with L9.
@health-harmony-tips
@health-harmony-tips 2 года назад
I have the feeling that Laravel is becoming a bit expensive as you need more and more tools to build project as fast as the people who use all these automated tools. I wish a company could apply for EU funds and start their own open source Laravel upgrade tools as I just checked the prices of Laravel Shift, it is just too much for multiple personal projects.
Далее
Laravel Eloquent: Deeper Relationships with One Query
10:37
Google Drive hates developers now
23:56
Просмотров 88 тыс.
Laravel Security: Top 7 Mistakes Developers Make
11:16
Laravel Origins: A PHP Documentary
33:27
Просмотров 160 тыс.
The Value of Source Code
17:46
Просмотров 176 тыс.
I built 10 web apps... with 10 different languages
14:23
So I've tried 3 popular Laravel CMSs...
17:53
Просмотров 8 тыс.
Laravel 9: Scout with NEW Database Driver
6:56
Просмотров 27 тыс.
Why Signals Are Better Than React Hooks
16:30
Просмотров 483 тыс.
How to Upgrade to Laravel 9: Live-Coding Demo
7:06
Просмотров 52 тыс.