Which is the best PHP framework ?

Posted on June 14, 2008 
Filed Under Poll & Competetion, blogs, coding technique, php

I’ve been asked a lot of times which is the best PHP framework. Well, it’s a very difficult question to answer this question and there are some pros and corns in each framework. So, today I would to hear your views via poll. Please let everybody know which is the best PHP framework among CakePHP, Symfony, Zend Framework, CodeIgniter and Seagull. So that, it will be easier for the PHP developer to choose right framework for the next project. And please post the comment, if you’ve something more to say.

Which is the best PHP framework?

  • Zend Framework (43%, 139 Votes)
  • CakePHP (22%, 73 Votes)
  • CodeIgniter (21%, 68 Votes)
  • Symfony (13%, 42 Votes)
  • Seagull (1%, 4 Votes)

Total Voters: 326

Loading ... Loading ...

After looking at the above result is clear that Zend framework is the best PHP framework. To learn, Zend Framework you can check the following book from Aspress for learning the best PHP framework as preferred by many PHP developers, Zend Framework.

The Definitive Guide to Zend Framework

Popularity: 16% [?]

Enter your email address and get recent tutorials, tips, tricks and scripts of PHP, Ajax, JavaScript and CSS directly delivered to you email inbox:

Follow me on twitter at http://twitter.com/roshanbh.

Related Posts

» Zend framework is the most popular PHP framework
» Which is the best JavaScript and Ajax Framework ?
» jQuery is the most popular JavaScript and Ajax Framework
» PHP - a bad programming language - Dark side of PHP

Comments

24 Responses to “Which is the best PHP framework ?”

  1. joshdavey on June 15th, 2008 3:11 pm

    I don’t understand why people can vote for codeigniter. Maybe it’s because they haven’t tried any of the other frameworks? I’m currently working on a codeigniter project and we’ve had to make many changes to it. The biggest change which had to be made was to add a front controller that all the other controllers extend. Without this simple feature its almost not even worth having a framework because all the framework ends up doing is organizing code and CI doesn’t even do it that well due to its lack of naming conventions.

    The Framework that will ultimately do the best is the ZendFramework. You’ll start to notice a lot of the other frameworks like CI and CakePHP are going to have problems keeping up because they decided to use their own naming conventions instead of PEAR. The PEAR naming conventions make it easy to migrate to namespaces and even easier to include autoloading. Once people get used to autoloading they’ll never go back. Additionally frameworks like Zend and Madeam (www.madeam.com) that use the proper naming conventions will be able to borrow libraries from one other. Consider using a light weight framework like Madeam to handle the MVC part of the framework and then adding the ZendFramework to your library directory. Simply by doing this all of the ZendFramework libraries are available for autoloading without you doing anything.

    Note: check out Madeam’s SVN on google code for an up to date version.

    http://code.google.com/p/madeam/source/checkout

    svn checkout https://madeam.googlecode.com/svn/trunk/

  2. red on June 15th, 2008 4:07 pm

    It’s ’symfony’

  3. Roshan on June 15th, 2008 4:46 pm

    @joshdavey - I’m using CakePHP these days and heard a lot about the popularity of the Zend framework. It is being used by Magento and phpfreaks.com as well. These days most of client request to use Zend framework for their project. And, it seems that I need to give a chance to Zend framework for my next project..

    @red - thanks for the heads up…corrected now…

  4. SomeOne on June 15th, 2008 7:03 pm

    You forgot the best php framework : PRADO

  5. Alex@Net on June 15th, 2008 11:16 pm

    I’ve wrote some notes on the subject: http://www.alexatnet.com/node/137

    In short:
    # 80% of the code I have written do not operate with frameworks.

    # Language constructions, right tools and good methodology are more important then frameworks.

    # ZF style is more flexible and allows you to write faster code and its learning curve is not as high as it is for declarative frameworks (PRADO/ASP.NET).

  6. Wil Sinclair on June 16th, 2008 1:20 am

    As the manager of the Zend Framework project at Zend, I have to say that I’m delighted to see that so many people seem to like ZF according to this poll. But I also have to say that your question is fundamentally unsound. :/ As you’ve said, it’s a very difficult questions to answer. I think the reason is that the best framework depends on the requirements of the project and/or the philosophy and coding style of those working on it. You simply can’t ask this question without more context and expect a useful answer. The other problem is that you’ve left out some other really great frameworks, like Solar, Prado, and many others that a lot of developers seem to prefer above the frameworks listed here. I appreciate what you’re trying to get to, but this is popularity contest and not a true measure of which framework is ‘best’.
    I probably won’t be able to keep myself from checking in to see who ‘won’, tho. ;)

    ,Wil

  7. thecancerus on June 16th, 2008 2:28 am

    @joshdavey, why codeignitor?

    here are my reasons… as why CodeIgniter is right choice for me.

  8. Roshan on June 16th, 2008 6:06 am

    @Wil Sinclair - you are right there should be a particular context for this but I’m running this poll for common scenario.

    Let’s suppose, One is developing a dating site , another is developing auction site and the other is developing a news portal. And each kind of people ask me which framework will be better to use for their next project.

    Furthermore, I think it’s a time consuming process switch from one framework to another framework from project to project since you need some time to learn the coding convention of that framework. What I mean to say, we should be able to meet the requirement of the such a kind of common project with the framework we choose the best framework is the one which once we choose, will be able to develop such a kind of common website using that framework.
    If you have to change the framework from one project to another project then

  9. joshdavey on June 16th, 2008 11:54 am

    @thecancerus, I’m using CI on a project right now and I can tell you all of the stuff they list on the link you provided is completely meaningless.

    This is probably the funniest point of all: “You eschew complexity, favoring simple solutions.”

    CI offers simple solutions? Then why does it force you to copy and paste code from one controller to the next. Why can’t they just put in a front controller and solve a bajillion problems? There is a balance between letting people be flexible and too flexible with their code and CI breaks that. Just look at anything built by Ellis Labs. They use globals for everything and it makes the code unnecessarily complicated.

  10. Shahways Romani on June 20th, 2008 12:03 pm

    No vote from me, since you missed the best one out there … give Qcodo (http://www.qcodo.com) a try!

  11. Zend framework is the most popular PHP framework on June 25th, 2008 10:45 am

    [...] I would to announce the result of poll which I’ve started last week named “Which is the best PHP framework?”. And it seems that Zend framework seems to be one of the most popular PHP framework among the [...]

  12. Which is the best JavaScript and Ajax Framework ? on June 26th, 2008 9:05 am

    [...] time, I had published a poll asking which is the best PHP framework and in that poll Zend Framework stand out itself to be the most popular PHP framework among the PHP [...]

  13. Binny V A on June 26th, 2008 5:36 pm

    I prefer using a custom framework I have developed - but in this list, I would vote for CakePHP.

  14. Michael Mohammed on June 26th, 2008 5:44 pm

    I believe that the best framework is the one that you can code the fastest with. That would be CodeIgnitor for me.

    I tried the others and CI allowed me to code up a sample Real Estate app quicker then the rest.

    I am not a command line guy so Baking is not for me and I often 9 times out of 10 have to alter a CP to my liking so baking would not be all that beneficial for me.

    I use CI and Zend as my default and rarely have to step out for anything else.

  15. Clint on June 27th, 2008 4:28 pm

    Why is QCodo never considered for the best framework. I think it should be added to the poll. http://www.qcodo.com

  16. Johann on June 29th, 2008 9:03 pm

    This is an interesting question. I think that instead to see who’s the most popular PHP framework it wold be more useful to know what people have to say about pros and corns in each framework. Right now I’m evaluating between Zend, CakePHP and Codeigniter.

    I haven’t used any of them, just take a look to it’s getting started tutorial.

    Zend is popular and have Zend support which has a great value, but its getting started tutorial doesn’t works.

    CakePHP looks nice but I’m not sure whether its name conventions are worse than Zend

    Codeigniter seems easier but I’m not sure if it lacks some other features.

  17. mglibres on July 3rd, 2008 2:25 pm
  18. Jonathan on July 24th, 2008 1:46 pm

    Well I’ve used a friend’s framework based in ajax and smarty and then in my work told me to use Symfony, and then I discovered that it was great, it is very intuitive and helps to do a lot of things, since the easy ones to the complicated ones.
    I would suggest you to take a look at it - http://www.symfony-project.com.

    Then in a book I read some summary process about the Zend framework and discover that Symfony do the same but easier. Well maybe I have to use Zend a little more but those of you who know how to use Zend give Symfony a closer look and compare.

  19. Julia on July 28th, 2008 10:58 am

    I think zend frame work better but other may be used as per the requirements.

  20. Raj Anand on August 12th, 2008 3:24 pm

    Glad to hear about the success of Zend. We have recently shifted from Symfony to Zend:

    http://blog.kwiqq.com/2008/08/12/announcement-bye-bye-symfony-hello-zend/

  21. Roshan on August 12th, 2008 6:03 pm

    @Raj Anand - it seems that Zend is most preferred by PHP developers compared to other PHP frameworks …

  22. joshdavey on August 12th, 2008 6:11 pm

    @mglibres

    Yea, they ended up using Zend Framework. My point exactly.

  23. Raj Anand on August 13th, 2008 9:57 am

    @Roshan that is a possibility initially, although ZF needs fair amount of learning. Similar argument can be made for SF or ZF.

  24. Rashid on September 4th, 2008 3:31 pm

    I need a table where I can see not only a comparison, I need see what people think about each feature and the rating of success for each feature, that will help me more to take the choice.

Leave a Reply