PHP frameworks help PHP developers to write clean and reusable code. They follow the MVC pattern, ensuring a clear separation of logic and presentation. But there are different opinions, on which framework is the best because some developers prefer performance, some prefer better documentation, some prefer lots of built-in functions, etc. But which is the Best PHP framework for 2016?
The very popular CodeIgniter framework remained the top choice for most developers from 2011 to mid-2014. However, later in 2014, a new framework “Laravel” arrived to become the most popular and most used framework in 2015. Now in 2016 it is clear that the Laravel framework will remain at the top, due to the huge interest from developers and clients worldwide.
This article will discuss the most popular PHP frameworks and outline each with Google Trends for 2016.
Best PHP Framework? Laravel vs CodeIgniter vs Yii vs CakePHP vs Zend Comparison Chart
The Laravel PHP Framework
As shown in the Google search trend chart below, Laravel is the most popular PHP framework among PHP developers. This is a relatively new php framework, but great web application framework with expressive, elegant syntax that aims to make web development easy and fast, by easing common tasks used in the majority of web development projects, such as authentication, routing, sessions, queuing, and caching. Hover, some say it’s code is a bit bloated, but it is the most popular out of the top php frameworks currently available.
CodeIgniter PHP Framework
CodeIgniter is the second most popular web framework among PHP developers. It is a lightweight powerful PHP framework that provides a simple and elegant platform to create full-featured web applications. CodeIgniter has been around much longer than Laravel and is a very dependable, robust framework.
Yii
YiiFramework is a high-performance modern PHP framework. As its popularity in the chart shows, it attracts many PHP developers due to its features, such as fast development, caching, authentication and role-based access control, scaffolding, testing, etc.
Cakephp
CakePHP is also popular among PHP developers due to its lightweight, simplicity, speed and requiring less code. It is easy to learn with fast and flexible templating. The built-in CRUD feature is very handy for database interaction. The framework also has various built-in features for security, email, session, cookie and request handling.
Zend Framework 2
Zend Framework 2 is a well known PHP framework among PHP developers evolved from Zend Framework 1, a successful PHP framework with over 15 million downloads. The Zend Framework 2 uses 100% object-oriented code and utilizes most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions, and closures.
Symfony
No doubt, Symfony is a stable PHP framework ( that’s why not included in the chart) widely used by PHP developers to create websites and web applications. It is a flexible, scalable yet powerful PHP framework. Symfony has a huge community of fans. Symfony has plenty of reusable PHP components that can be used like Security, Templating, Translation, Validator, Form Config and more.
I’m sure some of our readers either agree, disagree or have other PHP Frameworks, which they consider the best, but may not be on our list. If this is the case, then please add a comment below and let us know your thoughts and suggestions.
So which one is the Best PHP Framework?
The Best PHP Framework depends on your specific needs, style and the type of applications you build. I recommend reviewing each one listed and figure out which one fits your needs best.
Be a popular framework don’t make u a good one.
Maybe you people need to use a benchmark or something to clarify strong points of each framework.
This article are good for project managers to contract web developers with specific knowledge or to choose a framework considering its popularity.
Hi silly mistake that every human being do,, change spell mistake in CodeIgniter (Popwerful). Your post is very useful for me and I suggest Yii and Codeigniter are best framework
CI3 is a great PHP framework! I am using it in my project and it has a very easy learning curve. Since CI has a new home, I’m sure it’ll flourish and become even better!
I agree , ive just started using Ci3 and i think it will grow to be on par with Laravel come 2016.
Yes, CI3 is amazing!
seems to be a great framework to me……… wins the comparison.. I’m not a techie personally, so I had to search around to hire a laravel developer and found http://www.laravelgroup.com Can anyone recommend them or any other good laravel developer or a development team, say 3-4 developers?
Thanks for the useful post but i believe Cygnite Framework should also be in the list. It does most of the job with ease, beautiful documentation, simple but powerful framework for development.
http://www.cygniteframework.com/
Worth adding into the article.
Richard, thanks for suggestion. I will surely look into this framework to add when update article.
I’ve been working with Laravel for awhile but I must say I just started messing with FuelPHP and I am very impressed based on my first impression…………
Laravel is great but is too big! There is no point in using it on small VPS! My apps usually runs with 1GB 1CPU 🙂 I use codeigniter and maybe fuelphp because of this but also developed a smaller framework.
Really codeigniter is very lightweight.
Exactly!
Laravel is bloatware and I can’t even say if it’s still php..lol
Great post, Thanks for the update! Cakephp is one of oldest PHP Framework build by Polish programmer Michal Tatarynowicz inspiring by Ruby on Rails in April 2005. Scratch, Hot Scripts and Croogo CMS made in Cakephp. More at https://intellipaat.com/php-mysql-training/
Thanks Gabe!
Really nice list….Thank you!
What about 2014, how the trends look like now?
i am currently working with Core PHP ,but i want to move on framework ,which framework is good for me to learn……
cakephp user in hereee!!! rock and cooking code with rapid developpp!
Nice analysis, I haven’t experience YII, Symphony but I use Zend it’s very difficult to use. Presently I am using a new framework Zendfox it’s so easy to use, nice architecture.
Codeigniter is Pretty good for me…!
Codeigniter is pretty good………..
The choice of frameworks is bizarre. Zend, CodeIgniter, and CakePHP have pretty much fallen out of favor for new development since they’re fairly outdated at this point. They were all fairly good in their time, but someone looking to choose a new framework in 2013 wouldn’t even be considering one of those in most cases.
At this point, the most significant modern PHP frameworks that a developer would be choosing from are Symfony, Laravel, and Yii. Two of those weren’t even included in your list!
From looking at Google Trends, Laravel is spiking in popularity and is #1 in most Western countries, while Yii is most popular in China, but also quite popular elsewhere. Symfony’s popularity is still considerable, but has tapered off somewhat.
I am not sure that we can rely on Google trends that much. You cannot even add Symphony to that list to get a proper feedback due to it’s name.
real result analysis !
very helpful.. I agree with all this and Yii2 is coming and that will stay the best php framework.
Thanks!
I am starting with php frameworks. I wanted you use yii as all comparatives they rise it to the top. But, after working a little bit with Laravel and seeing its power, I will definitely stay on it. Laravel works perfect with RESTful apis, and I have been told that Yii don’t, and it tries you to use web services. I think Laravel will be the best.
In my company we were working with Core PHP and now we want to change it to some framework….I want to ask which will be best as a starter..Zend, CodeIgnitor OR Yii..please any body who is experienced and worked in all three do sujjest.
Laravel is getting powerful and getting popular among web developers.
Good list, and I’ve learnt CodeIgniter and CakePHP, and want to learn Laravel, its its very hyped about now. In terms of speed, which framework do you think is the fast generally? I mean with micro-optimizations, etc considered.
Thanks for this, but what “statistics” are you using to call Yii number one? It’s not number one in the chart, either currently or on average, so…?
Also, do you have enough understanding of these frameworks to do a feature-by-feature comparison? For example, I use CakePHP, but do any other frameworks have a similar built in code generation tool, or authentication plug-ins, etc.?
it will be wonderfull if you can comeup with some new frameworks .. thanks
Thanks Laeeq, very helpful to choose good choice.
This is a real good analysis of the frameworks. CI claims that they are faster than any frameworks out there.
Glad to see that Yii took the top spot. It’s my preferred framework due to its speed and ease of use.
you missed Symfony which is an amazing framework.
CI is the best and easy for CMS based website/application by using grocery CRUD.
I am a starter in PHP development. I am doing this with the help of Codeigniter.
but i heard that wordpress is the most preffered tool of the time. Can you please suggest me if i stick with Codeigniter or migrate to WordPress…
Hi, WordPress is a blogging system, a content management system, but it’s not used for coding in PHP, it’s built with PHP, but it’s not a PHP development framework.
Wow, great collection…. Thanks for providing those….. I wish for more collections …… 🙂
CI developement helps do more easily and a better way, designer can make code which will be easier to study, you can also save your time, make your web more robust.
My favourite PHP Framework is CodeIgniter.
Thanks My Friend. This is a very helpful and important analyze.
thank you for the article.
but you missed Symfony which is an amazing framework.
I love yii framework. its amazing and very compertable.
and easy to use… i love it.
There is a big difference between Symfony 1 and 2, as well as ZF1 and ZF2. I would actually like to see a trend chart how people are picking up the newer versions. Perhaps these have added new complexity too much, so that people beginning development might trend to use yii or cake just to have a faster feeling of success.
Yii is currently top and also my favorite. I have used CakePHP before, some things are very similar, but better implemented in Yii. So, Yii FTW! 🙂
Very Usefull Analysis and Information 🙂
I’ve used CODEIGNITER , this is really easy to use and to handle.
but now i start to learning yii, kohana and even zend.
Iwant to be proffesion on one framework before i go up to jump for another 🙂
Great analysis, I’m using codeigniter and thinking to jump for zend, this article really helped me. thnx.
Laravel is about to crush the other frameworks, given the interest in the United States in the past 12-18 months:
I really have been loving CodeIgniter… robust, flexible, extendable and doesn’t lock you into one way of doing things. I dig having creative freedom to code as the task requires.
Good analysis but I love CodeIgniter over others because its so easy to use and learn.
I never try other framework, but Yii help me so much…
I just ever read other framework problem that should be easy in Yii…
It’s nice to see yii on top 🙂
Yii is amazing
useful information for starter .Know what is php framework and which one you should use http://iwebeffects.com/what-is-php-framework-how-it-works-and-which-one-you-should-use/
This is an awesome blog, i really expect that codeigniter will be on its fire. Looking forward for more update in CI.
Amazing articles!
Missing this one: https://github.com/ScavixSoftware/WebFramework
Really cool but also really new.
Anybody else tried it yet?
why symfoy is included in the list of best php fremworks. i am just developing an application with it and i am very confortable with it. actually i am using symfony 1.4 , but it is still very powerfull framwork. is zer any thing i miss about the the other php framworks. please tell me something about symfony 2.
IN 2013 the cool kids are using Quantum PHP Framework:
https://github.com/carlosbarbosamexico/quantum2
It’s super fast, the command line thingy is super handy, i just teleported myself with it, highly recommended
Thanks for these great post. As a new learner what framework can I learn first ?
Good article. I am thinking to switch to Yii bcoz many people hv praise it in comments..
You should add Laravel, this framework is awesome! http://laravel.com/
gr8 php framework analysis….thanks!
To anyone reading this who isn’t a bot or the author should check out Laravel. It may not be as large on the trends chart, but it’s better than any of these.
Where is Symfony ? I worked on 2 big big companies in 2013 as consultant, they are migrating from Zend to symfony…
There are tons of frameworks to choose from, I really like Yii Framework. You should give it a go.
Nice pick!…..I’ve experience in Zend and CakePHP but Yii is my favourite.
I’m a codeigniter user for last 2 year, I want to try yii now but still waiting for version 2, cause they said won’t be compatible with version 1
Symfony is definately a top trender, I would maybe argue that it should be on the top of the list. Then there is also laraval, lithium, FuelPHP etc. This article only lists some of the more well-known frameworks, but by no means does it list the true top trending frameworks.
Thanks! Now it’s fixed.
Why symfony not included in list? some specific reason.
Thanks Shrayans! we have just compare data of top four php framework.
You did not. Symfony and Zend Framework are the 2 top frameworks, Yii, CodeIgniter and CakePHP are clearly behind those 2 if you count popularity and spread.
I agree, for serious enterprise development, Symfony or Zend Framework 2
I agree, i start using frameworks with Codeigniter first, then switch to Yii… Yii is better than Codeigniter, now i am using Symfony wich is even better yo CI and Yii.
About Zend i have no experience.
Thanks guys 🙂
awesome analysis…thanks 🙂
very useful analysis……yii is really fantastic.