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.
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.
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...
Yii | CodeIgniter | Symfony | Laravel | Fat-Free (F3) | CakePHP | FuelPHP | Jelix | MkFramework | Mouf | phalcon | PHPixie | ClanCatsFramework | Banshee | Mako | Silex framework | Slim framework | Zikula | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Website | https://www.yiiframework.com/ | https://codeigniter.com/ | https://symfony.com/ | https://laravel.com/ | https://fatfreeframework.com/ | https://cakephp.org/ | https://fuelphp.com/ | https://jelix.org/ | http://mkframework.com/ | http://mouf-php.com | https://phalcon.io/ | https://phpixie.com/ | https://clancats.io/ | https://www.banshee-php.org/ | https://makoframework.com/ | https://silex.symfony.com/ | https://www.slimframework.com/ | https://ziku.la/ |
Latest version | 2.0.38 | 4.0.4 | 5.1.7 | 8.11 | 3.7.2 | 4.1.5 | 1.8.2 | 1.7.5 | 1.6.0 | 2.0 | 4.0.6 | 2.*@dev | 2.0.6 | 4.2 | 7.0.1 | 1.2.3 | 4.5.0 | 3.0.3 |
Release date | 2020-09-14 | 2020-07-15 | 2020-10-04 | 2020-10-21 | 2020-05-28 | 2020-10-05 | 2019-06-27 | 2020-08-17 | 2020-04-08 | 2015-01-07 | 2020-05-16 | 2014-03-18 | 2014-09-16 | 2014-08-14 | 2020-09-15 | 2018-06-01 | 2020-04-14 | 2020-09-04 |
License | BSD | BSD-style | MIT | MIT | GPL3 | MIT | MIT | LGPL | LGPLV3 | MIT | New BSD License | BSD | MIT | OpenSource (custom) | BSD | MIT | GPL | |
Requirements | >= PHP 5.4 | >= PHP 5.1.6 | >= PHP 5.5.9 | PHP >= 7.0.0, OpenSSL PHP Extension, PDO PHP Extension, Mbstring PHP Extension, Tokenizer PHP Extension, XML PHP Extension, | >=PHP 5.3 | >= PHP 7.2.8 | >= PHP 5.3 | >= PHP 5.2 | PHP >= 5.2 | >= PHP 5.3.2 | >=PHP 5.3.0 | >= PHP 5.3 | >= PHP 5.3.1 | >=PHP 5.3.0 | >=PHP 5.3.0 | >= PHP 5.3 | ||
Backward compatibility | Toute la branche 4.* , depuis 2009 | |||||||||||||||||
Features | ||||||||||||||||||
Internationalization I18N / L10n | gettext database PHP array | language class | XML (XLIFF) CSV PHP | PHP array, gettext via extension | ICU/intl | gettext, PHP array | PHP array | XML File, PHP Array | plugin_i18n | FINE | PHP array | language class | gettext | |||||
Code generation | Yii CLI, Gii (Web based) | CLI | CLI | CLI | CLI | CLI | Mkbuilder: générateur Web | Discouraged, use advanced configuration via dependency injection instead | CLI | Module Studio | ||||||||
ORM | Database Access Objects (DAO), Active Record (AR) | ActiveRecord | Doctrine 2, Propel (active record) | ELOQUENT ORM (active record) | Axon (SQL), M2 (MongoDB), and Jig (flat files) | Custom | Custom | Data Access Object (DAO) | Custom possibilité facilement d'utiliser un autre (doctrine par exemple) | TDBM or Doctrine | PHPixie ORM | CCF ORM - DB\Model | Third party. Doctrine, Propel ... | Doctrine | ||||
Cache storage | APC, Database, eAccelerator, File, Memcache, WinCache, XCache, ZendPlatform | File, apc, memcached, xcache | HTTP, APC, eAccelerator, XCache | File System, Database, Memcached, APC, Redis, Xcache, WinCache, Memory (Arrays) | APC, xCache, WinCache, Memcache, Filesystem, Shared memory | Memcache, APC File, APC, Memcache, Redis | File, Redis, Memcache, APC | File, APC, Memcache, Redis | cache html de page complète et/ou de "zones"/"modules" du site | APC, File, Memcache, Memory, or any Doctrine Cache implementation | APC, File, Memcache / Memcached, Memory, Redis, SQLite, XCache, ZendDisk, ZendMemory, WinCache | |||||||
Dependency injection container | Yes | Yes With autowiring | Yes With graphical interface, compatible with ContainerInterop | |||||||||||||||
Services | SOAP / WebServices | XML-RPC | OpenID, Twitter, Google, Yahoo, Akismet, XML-RPC, SOAP, Pingback | Third party | XML-RPC and many others provided on booster.jelix.org | |||||||||||||
Template System | PHP and Prado's - Several others using Extensions (Razor, Smarty, Twig, etc) | PHP, Simple template parser "{var_name}" | PHP, Twig | Blade, PHP, Custom | PHP, custom plugin, Twig, Haanga, Smarty, etc. | Custom but Smarty/Twig can be used | PHP, Dwoo, HAML, JADE, Markdown, Mustache, Smarty, Twig | jTpl | Built-in Twig support | PHP | PHP, CCTemplates | XSLT | PHP | Smarty | ||||
Web2.0 | built-in jQuery, extendable to any javascript framework | jQuery HTML5boilerplate | JS-library agnostic | Full jQuery, jQuery UI, Grid System, Native AJAX,RestFul | JS-library agnostic | jQuery | JS-library agnostic | |||||||||||
Testing library | PHPUnit, Selenium | PHPUnit (In development) | PHPUnit | PHPUnit | Built-in | PHPUnit | PHPUnit | PHPUnit | PHPUnit | |||||||||
Edge Side Includes | Yes include tag only | |||||||||||||||||
Code generation | Yii CLI, Gii (Web based) | CLI | CLI | CLI | CLI | CLI | Mkbuilder: générateur Web | Discouraged, use advanced configuration via dependency injection instead | CLI | Module Studio | ||||||||
Layer generator | Yes DoctrineBundle, PropelBundle | Yes | ||||||||||||||||
Menu generator | Yes | Yes | ||||||||||||||||
CRUD generation | Yes Gii | Yes SensioGeneratorBundle | Yes | Yes Evolugrid and BCE | Yes | |||||||||||||
Logging management | Yes PSR-3 compliant | Yes | Yes | Yes | Yes PSR-3 compliant | Yes | ||||||||||||
User interface | Yes Oui : Builder | Yes Extensible | ||||||||||||||||
Multiple databases | Yes | Yes | Yes | Yes | Yes | |||||||||||||
Security | ||||||||||||||||||
Xss | Yes Built-in | Yes | Yes | Yes Built-in | Yes | Yes | Yes Via Twig | Yes | ||||||||||
Xsrf | Yes Built-in | Yes | Yes | Yes Built-in | Yes | Yes | Yes | |||||||||||
Sql injection | Yes Built-in | Yes | Yes Built-in | Yes | Yes | Yes Via TDBM or Doctrine | Yes | |||||||||||
Auth module | Yes | Yes | Yes | Yes Généré via le buider | ||||||||||||||
Resources | ||||||||||||||||||
Website | https://www.yiiframework.com/ | https://codeigniter.com/ | https://symfony.com/ | https://laravel.com/ | https://fatfreeframework.com/ | https://cakephp.org/ | https://fuelphp.com/ | https://jelix.org/ | http://mkframework.com/ | http://mouf-php.com | https://phalcon.io/ | https://phpixie.com/ | https://clancats.io/ | https://www.banshee-php.org/ | https://makoframework.com/ | https://silex.symfony.com/ | https://www.slimframework.com/ | https://ziku.la/ |
Tutorial | http://www.yiiframework.com/doc/blog/ | http://codeigniter.com/user_guide/tutorial/index.html | http://symfony.com/doc/current/quick_tour/index.html | http://laravel.com/docs | http://fatfreeframework.com/user-guide | http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html | http://jelix.org/articles/en/tutorials | http://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.md | http://phpixie.com/tutorials/learn-phpixie-in-30-minutes/ | http://clancats.io/docs/ | |||||||
Github / Bitbucket / Sourceforge | https://github.com/yiisoft/yii | https://github.com/EllisLab/CodeIgniter | https://github.com/symfony/symfony | https://github.com/laravel/laravel | https://github.com/bcosca/fatfree | https://github.com/cakephp/cakephp | https://github.com/fuel | https://github.com/imikado/mkframework | https://github.com/thecodingmachine/mouf | https://github.com/phalcon | https://github.com/dracony/PHPixie | https://github.com/ClanCats/Framework | https://github.com/zikula | |||||
Commercial Support | Yes http://www.clevertech.biz/blog/yii/ | Yes www.expressionengine.com | Yes http://symfony.com/services/support | No | Yes http://cakedc.com | No | ||||||||||||
Notable projects using it | http://www.stay.com http://www.fictioncity.net https://www.humhub.org | http://expressionengine.com http://skyclerk.com/ | Dailymotion: http://symfony.com/blog/dailymotion-powered-by-symfony Drupal 8 eZ Publish 5 | http://fatfree.sf.net | Hot Scripts, Affilorama... | HaveFnuBB forum project : http://www.havefnubb.org | http://dupot.org http://supercapote.com | http://packanalyst.com/ http://www.pathefilms.com/ http://www.wabel.com/ http://www.webikeo.com/ and many more! | golfimport.ch clancats.com | |||||||||
http://twitter.com/yiiframework | https://twitter.com/CodeIgniter | https://twitter.com/symfony | https://twitter.com/laravelphp | https://twitter.com/phpfatfree | https://twitter.com/cakephp | http://twitter.com/fuelphp | https://twitter.com/jelixfmk | https://twitter.com/mkframework | https://twitter.com/mouf_php | https://twitter.com/CCF_IO | http://twitter.com/makoframework | |||||||
Your reviews | ||||||||||||||||||
Simplicity | 4.7 3 ratings | 4.7 10 ratings | 3.8 4 ratings | 5.0 6 ratings | 4.8 4 ratings | 4.3 3 ratings | 5.0 1 rating | 5.0 1 rating | 5.0 3 ratings | 3.0 2 ratings | 0 no rating | 0 no rating | 5.0 1 rating | 0 no rating | 0 no rating | 0 no rating | 0 no rating | 0 no rating |
Like |
More comparisons
Comments
Leave a comment
Register Sign in