Hacker News new | ask | show | jobs
by barendt 5478 days ago
Is there another PHP framework you would recommend? I'm about to start looking at Symfony as a replacement for our aging, home-grown PHP framework. I'm partial to Django, but since PHP is a requirement I could use thoughts on PHP alternatives.
5 comments

Kohana Framework. It's completely OOP, 5.2+, and non-magical.
The comments in this thread seem to be referring to Symfony 1. Symfony2 is completely different.

If PHP is a requirement, you should really check it out.

Yii has borrowed a lot from Rails, and slightly improved AR with RelationalActiveRecord.

Of course, it's still PHP, with all of the said inconsistencies.

For smaller projects CodeIgniter is great. It's simple to learn and use, and has excellent documentation (better than Kohana's).
i prefer CodeIgniter, myself, when doing PHP development. i like it because it doesn't force you into anything, but if you want to use its helpful features, you can.
Also examine Kohana - originally an offshoot of CodeIgniter, the 3.1 branch is an entirely different animal.

Kohana is more of a "toolkit" kind of framework, where most of the components only rely on a few base classes, but are otherwise surprisingly decoupled.