PHP frameworks comparison

Business > IT development > Frameworks
30
2021-05-17 19:54:33

Comparison chart of the stable versions of best PHP frameworks in order to help you to choose the PHP framework adapted to your specific needs: Agile Toolkit vs Banshee vs CakePHP vs CakePHP2 vs CodeIgniter vs Fat-Free vs FuelPHP vs Jelix vs Kohana vs Laravel vs Lithium vs Mako vs MkFramework vs PPI Framework vs Solar vs Symfony vs Symfony2 vs Yii vs Zend Framework vs Zend Framework 2 vs Zikula.

Features

This part in the comparison table try to summarize the important features of the main PHP frameworks.

Object-relational mapping (ORM) are components that helps you to transform your databases access in a more friendly object oriented manner. Instead of manipulating records, you manipulate objects and could most of the time forget about all the SQL queries that goes behind the scene.

Code generation make developers life easier by creating files and default content automatically so you don't have to.

Edge Side Includes (ESI) allows, with a compliant gateway cache, to cache a page fully and to update only parts of the page that have changed.

Resources

This section is an important part, it helps you to directly go to the section essential when using a new framework: the tutorials and documentation. Have a look at the tutorial and documentation to get a quick view at the code verbosity, and the documentation quality.

Do not hesitate to add comparison criteria, other PHP Framework or simply leave a comment or rate the framework you know...

CodeIgniterSymfonyLaravelCakePHPYiiFat-Free (F3)Agile ToolkitFuelPHPJelixKohanaZend Framework 2PPI FrameworkMkFrameworkMoufOpenbiz CubiphalconPHPixieBansheeClanCatsFrameworkMakoSilex frameworkSlim frameworkSolarZikula
Websitehttps://codeigniter.com/https://symfony.com/https://laravel.com/https://cakephp.org/https://www.yiiframework.com/https://fatfreeframework.com/https://github.com/atk4https://fuelphp.com/https://jelix.org/http://kohanaframework.org/http://framework.zend.com/http://www.ppi.iohttp://mkframework.com/http://mouf-php.comhttps://phalcon.io/https://phpixie.com/https://www.banshee-php.org/https://clancats.io/https://makoframework.com/https://silex.symfony.com/https://www.slimframework.com/http://solarphp.com/https://ziku.la/
Latest version3.15.1.78.114.1.52.0.383.7.24.31.8.21.7.53.3.62.2.01.01.6.02.03.0.94.0.62.*@dev4.22.0.67.0.11.2.34.5.01.1.23.0.3
Release date2020-07-152020-10-042020-10-212020-10-052020-09-142020-05-282015-01-172019-06-272020-08-172016-07-252013-05-152012-01-012020-04-082015-01-072013-03-062020-05-162014-03-182014-08-142014-09-162020-09-152018-06-012020-04-142010-11-092020-09-04
First version2006200520112005
LicenseBSD-styleMITMITMITBSDGPL3MITMITLGPLBSDBSDMITLGPLV3MITBSDNew BSD LicenseBSDOpenSource (custom)MITBSDMITBSDGPL
Requirements>= PHP 5.1.6>= PHP 5.5.9PHP >= 7.0.0, OpenSSL PHP Extension, PDO PHP Extension, Mbstring PHP Extension, Tokenizer PHP Extension, XML PHP Extension,>= PHP 7.2.8>= PHP 5.4>=PHP 5.3>=PHP5.3>= PHP 5.3>= PHP 5.2>= PHP 5>= PHP 5.3>= 5.3.0PHP >= 5.2>= PHP 5.3.2>=PHP5>=PHP 5.3.0>= PHP 5.3>= PHP 5.3.1>=PHP 5.3.0>=PHP 5.3.0>= PHP 5.2>= PHP 5.3
Backward compatibilityToute la branche 4.* , depuis 2009
Package code57336 06644 7192 434
Features
Internationalization I18N / L10nlanguage classXML (XLIFF)
CSV
PHP
PHP array, gettext via extensiongettext, PHP arraygettext
database
PHP array
ICU/intlcallback gettext arrayPHP arrayXML File, PHP Arraygettext, PHP arrayplugin_i18nFINEZend I18N has UI interfacePHP arraylanguage classlanguage classgettext
Code generationCLICLICLIYii CLI, Gii (Web based)DiscouragedCLICLIMkbuilder: générateur WebDiscouraged, use advanced configuration via dependency injection insteadhas built in Openbiz AppbuilderCLIModule Studio
ORMActiveRecordDoctrine 2, Propel (active record)ELOQUENT ORM (active record)CustomDatabase Access Objects (DAO), Active Record (AR)Axon (SQL), M2 (MongoDB), and Jig (flat files)Agile Data (http://git.io/ad) (full domain logic mapping and NoSQL support)CustomData Access Object (DAO)CustomDoctrine
Propel2
Custom possibilité facilement d'utiliser un autre (doctrine par exemple)TDBM or DoctrineSupported Metadata Level ORMPHPixie ORMCCF ORM - DB\ModelThird party. Doctrine, Propel ...Doctrine
Cache storageFile, apc, memcached, xcacheHTTP,
APC,
eAccelerator,
XCache
File System, Database, Memcached, APC, Redis, Xcache, WinCache, Memory (Arrays)Memcache, APC File, APC, Memcache, RedisAPC,
Database,
eAccelerator,
File,
Memcache,
WinCache,
XCache,
ZendPlatform
APC, xCache, WinCache, Memcache, Filesystem, Shared memoryExtensible (Provided Session, Arrays)File, Redis, Memcache, APCFile, APC, Memcache, RedisAPC,
File,
Memcached,
Memcached-tags,
SQLite,
Wincache
APC
Redis
File
Memcached
XCache
cache html de page complète et/ou de "zones"/"modules" du siteAPC, File, Memcache, Memory, or any Doctrine Cache implementationBased on Zend_CacheAPC,
File,
Memcache / Memcached,
Memory,
Redis,
SQLite,
XCache,
ZendDisk,
ZendMemory,
WinCache
APC,


Memcache,



XCache
Dependency injection containerYesYes With autowiringYesYes With graphical interface, compatible with ContainerInterop
ServicesXML-RPCThird partySOAP / WebServicesOpenID, Twitter, Google, Yahoo, Akismet, XML-RPC, SOAP, PingbackIntegrated with packagist.orgXML-RPC and many others provided on booster.jelix.orgAll ZF componentsWebServices
Template SystemPHP, Simple template parser "{var_name}"PHP, TwigBlade, PHP, CustomCustom but Smarty/Twig can be usedPHP and Prado's - Several others using Extensions (Razor, Smarty, Twig, etc)PHP, custom plugin, Twig, Haanga, Smarty, etc.Fast, simple built-in passive template enginePHP, Dwoo, HAML, JADE, Markdown, Mustache, Smarty, TwigjTplPHP
Twig
Smarty
PHPTal
Built-in Twig supportSmarty and PHPPHPXSLTPHP, CCTemplatesPHPPHPSmarty
Web2.0jQuery HTML5boilerplateFull jQuery, jQuery UI, Grid System, Native AJAX,RestFulbuilt-in jQuery, extendable to any javascript frameworkJS-library agnosticFull jQuery, jQuery UI, Grid System, Native AJAX, Popovers, Custom JS widgetsJS-library agnosticjQueryjQuery
Html5bolierplate
Twitter Bootstrap
Modernizr
built-in jQuery and PrototypeJS-library agnostic
Testing libraryPHPUnit (In development)PHPUnitPHPUnitPHPUnitPHPUnit, SeleniumBuilt-inPHPUnit or internal UI testing class.PHPUnitPHPUnitPHPUnitPHPUnitPHPUnitPHPUnit
Edge Side IncludesYes include tag only
Code generationCLICLICLIYii CLI, Gii (Web based)DiscouragedCLICLIMkbuilder: générateur WebDiscouraged, use advanced configuration via dependency injection insteadhas built in Openbiz AppbuilderCLIModule Studio
Layer generatorYes DoctrineBundle, PropelBundleYes
Menu generatorYes $menu->addItem('blah');YesYes
CRUD generationYes SensioGeneratorBundleYes GiiYes $crud->setModel('Order');YesYes Evolugrid and BCEYes
Logging managementYes PSR-3 compliantYesYesYes Audit Extension: (http://www.agiletoolkit.org/data/extensions/audit)YesYes PSR-3 compliantYes
User interfaceYes Built-in components and add-ons.Yes Oui : BuilderYes Extensible
Multiple databasesYesYesYesYesYes
Security
XSSYes Built-inYesYesYesYes Built-inYes addonYesYes Via TwigYes
XSRFYes Built-inYesYesYesYes Built-inYes addonYesYes
SQL injectionYes Built-inYesYesYes Built-inYes http://git.io/dsqlYesYes Via TDBM or DoctrineYes
Auth moduleYesYesYesYes Généré via le buider
Lines of code8312310060
Number of files6976
Request serving time ms50859389462
Requests per second48042102130
AuthNoYesYesYes
Resources
Websitehttps://codeigniter.com/https://symfony.com/https://laravel.com/https://cakephp.org/https://www.yiiframework.com/https://fatfreeframework.com/https://github.com/atk4https://fuelphp.com/https://jelix.org/http://kohanaframework.org/http://framework.zend.com/http://www.ppi.iohttp://mkframework.com/http://mouf-php.comhttps://phalcon.io/https://phpixie.com/https://www.banshee-php.org/https://clancats.io/https://makoframework.com/https://silex.symfony.com/https://www.slimframework.com/http://solarphp.com/https://ziku.la/
Tutorialhttp://codeigniter.com/user_guide/tutorial/index.htmlhttp://symfony.com/doc/current/quick_tour/index.htmlhttp://laravel.com/docshttp://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.htmlhttp://www.yiiframework.com/doc/blog/http://fatfreeframework.com/user-guidehttps://www.youtube.com/watch?v=eyeZhwP1LP4http://jelix.org/articles/en/tutorialshttp://kohanaframework.org/3.2/guide/kohana/tutorialshttp://framework.zend.com/manual/en/learning.quickstart.intro.htmlhttp://www.ppi.io/docshttp://www.developpez.com/index/redirect/14907/Introduction-au-mkframework-un-framework-PHP-simple-a-prendre-en-main-par-Michael-Bertocchi/http://mouf-php.com/packages/mouf/getting-things-done-basic-edition/index.mdhttp://code.google.com/p/openbiz-cubihttp://phpixie.com/tutorials/learn-phpixie-in-30-minutes/http://clancats.io/docs/http://solarphp.com/manual/blog-demo
Github / Bitbucket / Sourceforgehttps://github.com/EllisLab/CodeIgniterhttps://github.com/symfony/symfonyhttps://github.com/laravel/laravelhttps://github.com/cakephp/cakephphttps://github.com/yiisoft/yiihttps://github.com/bcosca/fatfreehttp://github.com/atk4/atk4/https://github.com/fuelhttps://github.com/imikado/mkframeworkhttps://github.com/thecodingmachine/moufhttp://code.google.com/p/openbiz-cubihttps://github.com/phalconhttps://github.com/dracony/PHPixiehttps://github.com/ClanCats/Frameworkhttps://github.com/zikula
Commercial SupportYes www.expressionengine.comYes http://symfony.com/services/supportYes http://cakedc.comYes http://www.clevertech.biz/blog/yii/NoYes http://agiletech.ie/NoYes http://www.zend.com/en/support-center/support/Yes
Notable projects using ithttp://expressionengine.com http://skyclerk.com/Dailymotion:
http://symfony.com/blog/dailymotion-powered-by-symfony
Drupal 8
eZ Publish 5
Hot Scripts, Affilorama...http://www.stay.com http://www.fictioncity.net https://www.humhub.orghttp://fatfree.sf.nethttp://linkedfinance.com/ http://sortmybooks.com/HaveFnuBB forum project : http://www.havefnubb.orghttp://www.bestbuys.com, http://www.joined.com, many many morehttp://dupot.org http://supercapote.comhttp://packanalyst.com/ http://www.pathefilms.com/ http://www.wabel.com/ http://www.webikeo.com/ and many more!golfimport.ch clancats.com
Twitterhttps://twitter.com/CodeIgniterhttps://twitter.com/symfonyhttps://twitter.com/laravelphphttps://twitter.com/cakephphttp://twitter.com/yiiframeworkhttps://twitter.com/phpfatfreehttps://twitter.com/atk4http://twitter.com/fuelphphttps://twitter.com/jelixfmkhttps://twitter.com/mkframeworkhttps://twitter.com/mouf_phphttps://twitter.com/CCF_IOhttp://twitter.com/makoframework
Your reviews
GitHub Stars18 12125 41565 1988 425
StackOverflow69 12368 862173 27631 33214k25k<100
Simplicity4.7 10 ratings3.8 4 ratings5.0 6 ratings4.3 3 ratings4.7 3 ratings4.8 4 ratings4.7 3 ratings5.0 1 rating5.0 1 rating5.0 1 rating3.1 7 ratings0 no rating5.0 3 ratings3.0 2 ratings0 no rating0 no rating0 no rating0 no rating5.0 1 rating0 no rating0 no rating0 no rating0 no rating0 no rating
Like 34 14 12 6 35 9 4 4 4 4 4 3 1 1 1 1 1 0 0 0 0 0 0 0
Embed
  • 2010-03-14 05:49:20
    2021-05-17 19:54:33
  • Frameworks
    Français
  • This PHP frameworks comparison chart compares the best PHP frameworks: Banshee vs CakePHP2 vs CodeIgniter vs Fat-Free vs FuelPHP vs Jelix vs Kohana vs Laravel vs Lithium vs PHPixie vs Mako vs MkFramework vs Solar vs Symfony2 vs Yii vs Zend Framework
  • Public
    Public
  • Creative Commons License CC-BY-SA 3.0 / GNU FDL
    Manage backups

Comments

  • Best Comparison.
    Posted 2021-10-11 13:17:47 by quokkalabs
  • I usually recommend laravel
    Posted 2021-10-05 11:29:54 by Aman Paul
  • I usually recommend Laravel since it allows for the quick creation of web applications with tiny footprints. https://multiqos.com/why-laravel-php-framework-is-best-for-enterprise-web-application/
    Posted 2021-09-30 12:54:33 by Amrut
  • Hi There PHP is a widely used open-source language that is used by a wide range of web developers from budding to professional developers. If you're looking for professional web development services you could visit: https://www.cubestech.net/
    Posted 2021-09-27 07:37:04 by Sneha
  • suggested to set Editor to kotrynakera-5xpyejo9
    Posted 2021-05-17 19:28:38 by Catholin
  • suggested to set Editor to kotrynakera-5xpyejo9
    Posted 2021-05-17 19:28:03 by Catholin
  • Arkss Technologies is a leading Website design and development company in the USA Web design encompasses many different skills and disciplines in the production and maintenance of websites. Website design includes web graphic design, user-interface, and proprietary software, etc. Our most reliable website designers and developers work together to provide the best service you ever had! We additionally provide a direct Client-to-Developer relationship to understand your need and goals.
    Posted 2021-03-08 06:28:11 by arkss technologies
  • I recommend Laravel.
    Posted 2021-01-29 11:20:47 by Satyam Jaiswal
  • Thanks for Share PHP Framework. it is very helpful for PHP beginners and professionals. https://www.tutorialandexample.com/yii-tutorial/
    Posted 2020-07-23 16:42:36 by Mahesh
  • Object-relational mapping (ORM) are components that helps you to transform your databases access in a more friendly object oriented manner. Instead of manipulating records, you manipulate objects and could most of the time forget about all the SQL queries that goes behind the scene https://thedigizones.com/blog/laravel-framework-is-the-best-php-framework/
    Posted 2020-07-08 14:32:57 by sdf
  • good
    Posted 2020-04-14 07:30:27 by Jo999uk
  • Thanks! A very useful aticle! I also highly recommend to use information about complex PHP projects delivered by N-iX (Ukrainian provider of software development outsourcing services with delivery centres in Ukraine, Poland, Bulgaria, and Belarus and over 1000 expert software developers).
    Posted 2019-12-21 17:11:40 by Julia
  • A useful and fresh frameworks comparison - https://pixelbot.co/php-frameworks-permormance-benchmark/
    Posted 2019-12-14 12:37:50 by deemapartizan
  • voted for this Comparison (Like)
    Posted 2019-10-26 09:20:36 by L.Kucher
  • That's an amazing table, never saw anything like it! I remember one PHP developer once told me that Laravel is the extended Symfony and 'uses' it in many ways. Or maybe it was vise versa. Don't really remember. It says a good PHP developer should know a few PHP frameworks - https://talmatic.com/resourcing/platform/laravel/. Is that true? Trying to figure out which framework is the best to start with.
    Posted 2019-10-26 09:20:07 by L.Kucher
  • rated Mouf: Simplicity 1
    Posted 2019-08-20 11:19:01 by julien
  • suggested on Zend Framework 2 to set Name to Zend Framework
    Posted 2019-07-10 20:09:25 by wajidkhan
  • suggested on Zend Framework 2 to set Name to Zend Framework
    Posted 2019-07-10 20:09:05 by wajidkhan
  • Hey! I want to vote for CakePHP! Probably I can say that one of main characteristics of this framework is code reusability makes for more productive development. And I found great article about this framework https://mobilunity.com/blog/hire-cakephp-developer-like-a-piece-of-cake/. You will find it interesting.
    Posted 2019-03-06 12:32:09 by a.stefanuk
  • Posted 2019-02-28 10:14:32 by Jani Ali
  • I would go with Zend Framework 2 , as we are offering Outsourcing Services and most of the demand is coming for Zend Framwork.
    Posted 2019-02-28 10:12:58 by Jani Ali
  • voted for CakePHP (Like)
    Posted 2019-02-26 08:40:44 by wajidkhan
  • voted for CodeIgniter (Like)
    i like it because its a very easy to use and also integrate a oop php
    Posted 2019-02-26 08:40:38 by wajidkhan
  • Posted 2019-02-26 08:36:07 by wajidkhan
  • Posted 2019-02-26 08:35:50 by wajidkhan
  • Posted 2019-02-26 08:35:29 by wajidkhan
  • PHP Micro & Router Framework Benchmark https://github.com/dejurin/php-micro-router-framework-benchmark no-framework AltoRouter PHP-Router FastRoute flight tipsy siler-1.3 klein.php limonade bearframework fatfree Slim-3.x
    Posted 2019-01-28 10:42:16 by dejurin
  • Posted 2018-10-23 08:18:51 by nbtai91
  • comunidade em português
    Posted 2018-03-21 00:40:41 by jugcosta
  • rated Yii: Simplicity 5
    excelent
    Posted 2018-03-21 00:39:55 by jugcosta
  • voted for Yii (Like)
    Posted 2018-03-21 00:39:45 by jugcosta
  • By far the most versatile, powerful and beautiful Framework. Its ORM, CI, ECHO, ELOQUENT, etc... are some of the feature the modern web dev should have
    Posted 2018-01-29 12:41:36 by codiiv
  • PHP is one of the most preferred server-side scripting languages, which has gained a lot of appreciation due to its simplicity. Whether a developer is starting its career or has gained significant experience in the field of PHP, all these frameworks will help an individual in gaining competitive lead in the market due to the major demand of these frameworks. To know more To know more about PHP frameworks click @https://blog.logicspice.com/top-5-php-framework-2017
    Posted 2018-01-05 12:53:06 by logicspice
  • Nice article! Keep going. You can also just analyse the functioning of both these platforms in the programmer’s point of view here https://medium.com/@nehaxavier/laravel-vs-yii2-which-one-you-choose-ba48329093d4
    Posted 2017-09-28 13:37:01 by Neha
  • I usually recommended CodeIgniter due to it can build rapid web application development for small footprints. We at hirecodeigniterdeveloper.com able to develop custom web application solution.
    Français Posted 2017-09-01 12:39:58 by CodeIgniter Developer
  • I am very much sure about this the comparisons. All frameworks have unique and good features but as a technical person, I'll go with Laravel framework due to its benefits, key features, and advantages. Why Laravel is most popular, read here, hirelaraveldeveloperindia.com
    Posted 2017-06-06 08:38:37 by jessicabarnesvc
  • voted for Laravel (Like)
    Posted 2017-02-12 08:50:37 by Shahbaz Shaukat
  • voted for Yii (Like)
    Posted 2017-01-21 01:33:22 by Paulo Jorge
  • voted for CakePHP (Like)
    Posted 2016-12-05 00:41:39 by Gerard Martin Mc Donnell
  • Hi All. I have ordered frameworks by the number of "Likes" then alphabetically. Please don't mess up.
    Posted 2016-10-18 22:04:10 by Romans Malinovskis
  • voted for Symfony (Like)
    cool
    Français Posted 2016-10-03 05:06:32 by Rambo Lunguma
  • Developers are building complex websites and web apps since many years from now. Sometimes, above a certain complexity level it is used to take too much time and hassle to always start from the scratch. To know more about PHP frameworks click @ http://www.valuecoders.com/blog/technology-and-apps/php-frameworks-startup-web-development/
    Posted 2016-09-21 06:36:36 by vivek Avasthi
  • voted for phalcon (Like)
    Fast :)
    Posted 2016-05-18 01:21:53 by CSoellinger
  • suggested on Symfony to set Name to Symfony3
    Version 3 is now commonly used.
    Posted 2016-05-13 08:27:08 by Alvin Bunk
  • voted for Symfony (Like)
    Posted 2016-05-13 07:49:22 by Alvin Bunk
  • Discovering the site and its comparisons. Why are there 2 somewhat parrallel pages, ie http://socialcompare.com/en/comparison/popular-php-frameworks in parallele with this one but some "columsn" have more content / data
    Posted 2016-04-25 11:55:21 by Bernard Savonet
  • what's the source of those inforamtions is it a trusted source ?
    Posted 2016-04-22 11:00:44 by Sejda Hajji
  • voted for Laravel (Like)
    good framework
    Posted 2016-04-21 16:31:14 by Sejda Hajji
  • Where is CakePHP 3? Came out ages ago and is a game changer.
    Posted 2016-04-05 13:14:25 by David Scott
  • voted for Yii (Like)
    Posted 2016-03-29 13:47:50 by Antonín Slejška
see older comments

Leave a comment

Register Sign in