I recently evaluated several PHP framworks for a large team-based project, and wanted to share some of the results. Those evaluated were: Yii, CakePHP, CodeIgniter, and SevenKevins. The latter is more of a "kit" for building your own framework.
The size of the code base for each of these is interesting:
Yii - 13.6Mb, 1698 files in 336 folders
CakePHP - 7.75Mb, 774 files in 352 folders
CodeIgniter - N/A (another person did this one)
SevenKevins - 792Kb, 187 files in 306 folders
Other than 7kevins, those look pretty hefty. How much of the framework is actually used in a bare-bones web page? To answer that question, I created a simple page that displays the classic "Hello, World" string plus the results of memory_get_usage( true ). Here are the results:
Yii - 6Mb
CakePHP - 1.75Mb
CodeIgniter - 750Kb
7kevins - 512Mb
I wasn't able to get a count of file hits, but I'd bet that Yii is the "winner" there, too.
Any thoughts on this? I think that simpler is better, so we're going with 7kevins because it allows us to build out the framework as we need it without all the general-purpose things that we don't need but that are brought in as extra baggage.