Hello ,
I want to upgrade my cakephp application from 2.3.4 to latest version . I am not getting required information from official website . Can any one tell me the step by step of the process ?
Thanks in advance.
CakePHP 2.x to 3.0 is a huge update which may require a lot of manual work, you should check [1] and especially [2]. After you have upgraded to the latest Cake 3 [3] the update to Cake 4 [4] (“latest version”) is comparably trivial.
So in short there are tools to help you in the transition, but there isn’t an “just do these three easy steps” approach. Depending on how complex your project is you have to refactor a lot.
[1] https://book.cakephp.org/3/en/appendices/3-0-migration-guide.html
[2] https://book.cakephp.org/3/en/appendices/orm-migration.html
[3] https://book.cakephp.org/3/en/appendices/3-x-migration-guide.html
[4] https://book.cakephp.org/4/en/appendices/4-0-migration-guide.html
For that big upgrade I would just start a new application and migrate your code over.
Yes it will take a little time but probably will be worth it.