Which is the best PHP framework ?

Advertisement

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

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

44 Comments on “Which is the best PHP framework ?”

  • joshdavey wrote on 15 June, 2008, 15:11

    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/

  • red wrote on 15 June, 2008, 16:07

    It’s ‘symfony’

  • Roshan wrote on 15 June, 2008, 16:46

    @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…

  • SomeOne wrote on 15 June, 2008, 19:03

    You forgot the best php framework : PRADO

  • Alex@Net wrote on 15 June, 2008, 23:16

    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).

  • Wil Sinclair wrote on 16 June, 2008, 1:20

    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

  • thecancerus wrote on 16 June, 2008, 2:28

    @joshdavey, why codeignitor?

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

  • Roshan wrote on 16 June, 2008, 6:06

    @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

  • joshdavey wrote on 16 June, 2008, 11:54

    @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.

  • Shahways Romani wrote on 20 June, 2008, 12:03

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

  • Binny V A wrote on 26 June, 2008, 17:36

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

  • Michael Mohammed wrote on 26 June, 2008, 17:44

    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.

  • Clint wrote on 27 June, 2008, 16:28

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

  • Johann wrote on 29 June, 2008, 21:03

    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.

  • mglibres wrote on 3 July, 2008, 14:25

    @joshdavey

    Check this you loser

    http://www.avnetlabs.com/php/php-framework-comparison-benchmarks

  • Jonathan wrote on 24 July, 2008, 13:46

    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.

  • Julia wrote on 28 July, 2008, 10:58

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

  • Raj Anand wrote on 12 August, 2008, 15:24

    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/

  • Roshan wrote on 12 August, 2008, 18:03

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

  • joshdavey wrote on 12 August, 2008, 18:11

    @mglibres

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

  • Raj Anand wrote on 13 August, 2008, 9:57

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

  • Rashid wrote on 4 September, 2008, 15:31

    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.

  • Open Source Customization wrote on 22 November, 2008, 9:58

    as far as complexity concern, Symfony is more usable for rapid website development compare to cakePHP.

  • Dart wrote on 10 December, 2008, 14:30

    CakePHP it is !! It not only makes development easier and faster, but covers a lot of issues as well.

  • bibo wrote on 8 January, 2009, 14:30

    Just to introduce a french PHP5.2 modern framework : http://jelix.org

  • Joel L. wrote on 24 April, 2009, 6:29

    List below are sets of features which the best framework should have:

    1. Speed up the creation and maintenance
    2. Easy to install on any configuration
    3. Clean design and code readability
    4. Flixibility enterprise context. (can handle Enterprice model, Less Dependency)
    5. Simplicity and Scalable (Security and Performance, easy integration with other libraries)
    6. Uses commonly known design Patterns
    7. Agile well-tested code base principles
    8. Latest Web Development Features (RIA ,AJAX, RESTful)
    9. High-quality, OO class library – unit testing & loose coupling
    10.Backward compatibility
    11.Tested

    does your framework have this?

  • Amjith PS wrote on 7 May, 2009, 12:03

    hey,
    I wonder why u choose CodeIgnitor? .. its a simple framework, but dont have good updates and can only be used with php4.
    There is better and more advanced framework which replaces codeignitor, and its Kohana
    Please do check this http://kohanaphp.com

    Thanks
    Amjith PS
    Senior Developer,
    Prominentlabs Technology Solutions and Services.
    http://prominentlabs.com

  • Scottux wrote on 27 May, 2009, 6:52

    I know someone mentioned Qcodo earlier, but I would like to extend that to the community branch – QCubed http://qcu.be

    I also like Zend and would not even mention these if it wasn’t for the code generation and clean object oriented PHP they provide.

    Feel free to check out my own comparison here: http://www.piranhamethod.com/2009/05/25/php-framework-comparison

  • Hoang Tan wrote on 4 June, 2009, 8:24

    @Amjith PS: you’re wrong. CI is simple,easy to use,it’s running with both php4 & php5 and faster than Kahana. Kohana only supports php5. CI’s community is one of greatest communities i’ve seen, they’re very very friendly.

  • Amjith PS wrote on 4 June, 2009, 16:04

    @Hoang Tan: hi Hoang,
    Thanks for your reply, but u are wrong sir. I have worked in codeignitor for many projects and i used to say the same thing as u thought. Later i came across kohana, CakePHP, Symfony… in PHP language. I always prefer CakePHP for works. and when guys who like to develop using codeignitor can easily handle kohana which uses PHP5.
    You have said about CI’s community. I dont think there are many brilliant guys there, if so why no one interested in understanding the version changes of PHP? Why they still follows the old version? If so i cant find any good updates on CI when compared to other frameworks available.
    We should adopt new things and changes in Web development, then only there will be growth. I wont prefer any one to use Codeignitor.
    And about fast. I dont think thats a good point.

    Thanks
    Amjith PS
    Senior Developer,
    Prominentlabs Technology Solutions and Services.
    http://prominentlabs.com

  • Sam Yong wrote on 1 August, 2009, 16:20

    maybe you guys should try out Samstyle PHP Framework
    http://code.google.com/p/samstyle-php-framework

  • dimis283 wrote on 12 August, 2009, 8:12

    I used codeigniter and at the last 3-4 months I am using Yiiframework.com
    Yii is very good framework and codeigniter I thing has some minus as the form validation (see Yii form validation),they also do not have a authentication system as cakephp,Yii and zend have.
    The next framework I wll learn is symfony.

  • Lucky wrote on 17 September, 2009, 6:55

    I am web developer in india symfony best framework

  • babyskill wrote on 7 January, 2010, 15:49

    Zend is best framework but it very big. Not good for small project :D i like codeigniter

  • Panggrayta wrote on 25 March, 2010, 13:47

    I Use CakePhp……..!!

  • Toan wrote on 4 July, 2010, 15:41

    It is Cakephp because cakephp has a great CMS here

    cakeui CMS http://cakeui.com

  • Raheel wrote on 23 July, 2010, 5:31

    Zend and codeigniter are two best frameworks.

  • Dnz wrote on 10 September, 2010, 3:50

    You haven’t mentioned Yii Framework.

    For me Yii is good and I have provenly tested it.

    Come and check out Yii Framework

  • san wrote on 23 January, 2011, 19:23

    hi ,
    I believe cake php ,symfony and zend are the best framework.But All it depends upon the kind of application you are going to develop and the time span.

  • Stas wrote on 22 February, 2011, 14:56

    For all frameworks i recommend to use free PHP IDE Codelobster PHP Edition with special plug-ins for installation, autocomplete, context help and etc.

Trackbacks

  1. Zend framework is the most popular PHP framework
  2. Which is the best JavaScript and Ajax Framework ?
  3. Which is the best JavaScript and Ajax Framework ? at expertzweb
  4. Which is the best JavaScript and Ajax Framework ? at Expertz

Write a Comment

 


Copyright © 2014 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.