We have a fairly large product built on Yii 1.1.x (I believe 1.1.14) and I’d like to know what’s involved in upgrading a typical large project to 2.x (latest)? I’ve read that there are significant changes between the two. We already run PHP 5.5/5.6 so should be covered in that respect.
How many man hours should an upgrade take for a large project? Imagine a CMS type system built on top of Yii. I know it’s a highly generic question but I’d like to know are we talking hours, days, weeks or months?
The first thing you should do is upgrade to 1.15 (Security Issue).
I have converted a pretty large project from 1 to 2. It turned into almost a complete rewrite due to a lot of things not behaving the same and a lot of new features in 2 that weren’t available in 1. It took about a month (about 500 man hours spit between a few people), but it was well worth it. It is also important to note that we went from mysql to mongodb for performance reasons and that took a little extra time.
That’s going to be a rewrite. If you project has domain layer abstracted, it could be rewrite of controllers. If not, it will affect more. Good news is that many concepts would be familiar.