Replies: 7 comments 3 replies
-
Well... Depends of your project, but probably will be easy- changing namespaces, functions are renamed and a few deprecated stuff. And maybe the ->save() function... need to assign variables before that. You can do it 😉 |
Beta Was this translation helpful? Give feedback.
-
Exactly what @borisdelev wrote. It depends on your project and how you have it structured. Other than namespace changes and some functions renamed, the biggest hurdle you will have to overcome is the return type of the Feel free to ask any questions you might have here or in Discord. |
Beta Was this translation helpful? Give feedback.
-
Depends on how old the version you are on I suppose, but between v3 and 5 several namespaces changed, and with type safety in PHP 7 and 8 there is a lot of work to add variable types. That said, the changes made in phalcon 5 make sense, and the new versions of PHP are critical if you are concerned with security. |
Beta Was this translation helpful? Give feedback.
-
I have few projects written on version 3.4 and I'm thinking about the upgrade for long time, because I want to upgrade php to latest versions also. But I'm not sure if to do it right now and upgrade to version 5.x or to wait and upgrade to 6.x |
Beta Was this translation helpful? Give feedback.
-
Hi, I would like to state that the upgrade process has been completed successfully. On phalcon side there was some namespace changes It works more than 2 weeks and there is no problem. Even my code was not so standard. Thanks for all support. |
Beta Was this translation helpful? Give feedback.
-
Hi Guys, Only 2 important additions if you use Phalcon 5+ with php 8.2:
|
Beta Was this translation helpful? Give feedback.
-
For everybody going through same process I suggest to check your project dependecies. If any of them is built using Phalcon 3 / 4 is better to be sure they are updated for Phalcon 5 support. Otherwise you might drown with workarounds. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm migrating my code base again, this third time, first 1.x to 2.x then 2 to 3, I skip 4.x. Now it is inevitable. Lots of composer packages requires minimum 7.4. I getting annoyed to find older versions of those packages.
So I want to upgrade my basement.
This time its from 3.4 to 5.x.x
I wonder is there any horror stories, warnings etc.
My Humble Regards.
Beta Was this translation helpful? Give feedback.
All reactions