Upgrading cake 2.x (2.3 version) to 3.x (3.4 latest)


I want to upgrade my cake project to latest, i have upgraded latest php7, now i want to upgrade cake, i want to know steps to follow as because i have found some where that the file structure is changed in latest, so i am not able to place the files in new structure. so please help me.

The first thing you’ll want to do is read the cake 3.x migration guide. https://book.cakephp.org/3.0/en/appendices/3-0-migration-guide.html

At the top there is link that will point you to a migration tool that will transform all your classes/controllers.

You just run it and done.

However… the ORM is completely new and your model code will not run and will not return arrays as in the past.