PHP frameworks comparison

Business > IT development > Frameworks
26
2014-07-18 13:45:41

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

LaravelYiiZend Framework 2MkFrameworkSymfony2
Websitehttp://laravel.com/http://www.yiiframework.com/http://framework.zend.com/http://mkdevs.com/http://symfony.com/
Latest version4.1.241.1.142.2.0v4.90.02.4
Release date2014-03-172013-08-112013-05-152014-03-122013-12-03
LicenseMITBSDBSDLGPLV3MIT
Requirements>= 5.3.7 with mcrypt extension>= PHP 5.1.0>= PHP 5.3PHP >= 5.2>= PHP 5.3.2
Last update2014-03-22 21:09:152013-12-03 22:41:172014-04-24 23:45:352014-07-18 13:45:412014-02-20 13:17:21
Features
Internationalization I18N / L10nPHP arraygettext
database
PHP array
plugin_i18nXML (XLIFF)
CSV
PHP
ORMELOQUENT ORMDatabase Access Objects (DAO), Active Record (AR)Custom possibilité facilement d'utiliser un autre (doctrine par exemple)Doctrine 2, Propel
Cache storageFile System, Database, Memcached, APC, Redis, Xcache, WinCache, Memory (Arrays)APC,
Database,
eAccelerator,
File,
Memcache,
WinCache,
XCache,
ZendPlatform
cache html de page complète et/ou de "zones"/"modules" du siteAPC,
eAccelerator,
XCache
Code generationCLIYii CLI, Gii (Web based)Mkbuilder: générateur WebCLI
ServicesSOAP / WebServices
Template SystemBlade, PHP, CustomPHP and Prado's - Several others using Extensions (Razor, Smarty, Twig, etc)PHP, Twig
Web2.0built-in jQuery, extendable to any javascript framework
Testing libraryPHPUnitPHPUnit, SeleniumPHPUnitPHPUnit
Edge Side IncludesYes include tag only
Code generationCLIYii CLI, Gii (Web based)Mkbuilder: générateur WebCLI
Générateur de couche modèleYesYes DoctrineBundle, PropelBundle
Générateur de menuYes
Générateur de CRUDYesYes SensioGeneratorBundle
Gestion de logsYesYesYes PSR-3 compliant
Resources
Websitehttp://laravel.com/http://www.yiiframework.com/http://framework.zend.com/http://mkdevs.com/http://symfony.com/
Tutorialhttp://laravel.com/docshttp://www.yiiframework.com/doc/blog/http://framework.zend.com/manual/en/learning.quickstart.intro.htmlhttp://www.developpez.com/index/redirect/14907/Introduction-au-mkframework-un-framework-PHP-simple-a-prendre-en-main-par-Michael-Bertocchi/http://symfony.com/doc/current/quick_tour/index.html
Github / Bitbucket / Sourceforgehttps://github.com/laravel/laravelhttps://github.com/yiisoft/yiihttp://projets.developpez.com/projects/mkframeworkhttps://github.com/symfony/symfony
Commercial SupportYes http://www.clevertech.biz/blog/yii/Yes http://www.zend.com/en/support-center/support/Yes http://symfony.com/services/support
Notable projects using ithttp://www.stay.com http://www.fictioncity.nethttp://dupot.org http://supercapote.comDailymotion:
http://symfony.com/blog/dailymotion-powered-by-symfony
Drupal 8
eZ Publish 5
Twitterhttp://twitter.com/yiiframeworkhttps://twitter.com/mkframeworkhttps://twitter.com/symfony
Your reviews
Simplicity5.0 4 ratings4.0 1 rating4.0 3 ratings5.0 1 rating4.0 1 rating
Security
XssYesYesYes
XsrfYesYesYes
Sql injectionYesYes
Embed
  • 2010-03-14 05:49:20
    2014-07-18 13:45:41
  • 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

  • voted for this Comparison (Like)
    Posted 2014-06-04 16:37:26 by nicolas
  • voted for this Comparison (Like)
    Very imformative
    Posted 2014-06-04 03:43:54 by Robert John Fajardo Guloy
  • Avec Symfony c'est le plus complet et le plus professionnelle
    Français Posted 2014-04-22 14:02:18 by Renaud Wellens
  • Il manque Flow http://flow.typo3.org/home Mais je ne m'y connaos pas assez pour l'ajouter.
    Français Posted 2014-03-17 10:58:32 by Jean-Baptiste Joulé
  • Hi @pfsarli, it is a collaborative comparison chart, so if you see some missing information, please do not hesitate to update the table. Thanks.
    Posted 2014-02-15 08:42:10 by Vanina
  • I don't see the Phalcon framework rated here. Why?
    Posted 2014-02-14 18:22:59 by pfsarli
  • suggested on Laravel to set Name to Laravel 4
    Français Posted 2014-02-07 17:01:28 by Mitmi
  • Le générateur web est vraiment pratique
    Français Posted 2013-05-21 12:41:08 by mika
  • Posted 2013-04-30 06:22:39 by faisaladlin
  • voted for Laravel (Like)
    Posted 2013-04-30 06:20:41 by faisaladlin
  • voted for MkFramework (Like)
    Un framework simple à prendre en main avec un générateur de code en web (pas de ligne de commande ;)
    Français Posted 2013-04-10 23:04:48 by mika
  • voted for Laravel (Like)
    The future of PHP MVC development.
    Posted 2013-04-10 22:54:53 by Christopher Boarman
  • Take a look at this infographic which introduces the analysis of top 5 PHP frameworks based on Google trends and developers’ opinion: http://www.zfort.com/blog/top-5-php-frameworks-infographic/
    Posted 2013-04-05 16:35:04 by Kate Podorvanova
  • voted for Symfony2 (Like)
    Posted 2013-03-13 06:51:08 by Hoàng Thiên Ân
  • voted for Yii (Like)
    best php framework ever
    Posted 2013-03-10 02:43:52 by ALex NJoy
  • Posted 2013-02-13 10:59:12 by Lenny Dadu
  • voted for this Comparison (Like)
    Posted 2013-02-13 10:51:20 by Lenny Dadu
  • Posted 2013-01-27 16:09:27 by aromatix
  • un framework très puissant, qui mérite de s'y investir, assez comparable à synfony2
    Français Posted 2013-01-27 15:33:39 by aromatix
  • génial facile a apprendre, simple et rapide
    Français Posted 2013-01-09 13:45:34 by seif2013
  • voted for this Comparison (Like)
    Posted 2013-01-08 07:11:41 by Pabsky Lopena
  • voted for Yii (Like)
    Posted 2013-01-04 02:58:45 by Elie Gatete Magambo
  • there is a rather nice recent benchmark of those frameworks here: http://phpixie.com/blog/php-framework-benchmark/
    Posted 2013-01-02 17:15:21 by Roman Dracony Tsjupa
  • voted for Yii (Like)
    POWERFULL
    Posted 2012-12-22 11:01:07 by hpm
  • As a web dev company we use Yii, as well as Zend and Symphony. Yii was selected to be the primary solution for custom projects in our company, because it's flexible, fast, easy to use and modern. Here is an article explaining what are the major advantages of Yii: http://www.zfort.com/blog/why-is-yii-framework-getting-great-popularity/
    Posted 2012-12-21 13:18:11 by Kate Podorvanova
  • voted for Symfony2 (Like)
    This one is definitely robust in near future!
    Posted 2012-12-20 03:46:52 by Paul Aan
  • voted for this Comparison (Like)
    Posted 2012-12-17 15:54:21 by Vanina
  • the best framework for complex systems :)
    Posted 2012-12-07 04:45:51 by grace
  • voted for Yii (Like)
    Yii is Faster, Better, Stronger
    Français Posted 2012-12-05 19:31:19 by Antoine Germain
  • I'll love it :)
    Posted 2012-12-05 11:04:31 by Federico Panini
  • voted for Laravel (Like)
    a beautiful PHP framework
    Français Posted 2012-12-03 13:39:19 by devlamine
  • voted for this Comparison (Like)
    Posted 2012-12-03 13:38:12 by devlamine
  • voted for Symfony2 (Like)
    Posted 2012-11-19 00:25:15 by kanea
  • rated Yii: Simplicity 4
    Posted 2012-11-09 21:48:54 by Stephen M. Schaefer
  • voted for Yii (Like)
    Posted 2012-11-09 21:48:53 by Stephen M. Schaefer
  • voted for this Comparison (Like)
    Posted 2012-11-05 23:06:33 by e-cigarette
  • commented on Zend Framework 2
    La version 2 du ZF est une refonte complète du framework et non une évolution. Elle est inspirée par de nombreux design patterns - peut-être trop ? En tous cas, sa prise en main est inutilement complexe. Pour faire quoi que ce soit, il faut modifier des dizaines de fichiers de configuration un peu partout dans le framework. Rien n'est simple, rapide ou facile. Une fois pris en main, il permet des choses extraordinaires, mais à quel prix ! Même configurer une base de données exige du temps, de la patience - et beaucoup de copiers/collers. Tous les outils pour "gagner du temps" qui étaient présents dans la version précédente semblent avoir été supprimés - les vues sont plus complexes à utiliser, les méthodes magiques de php ont été retirées pour une bonne partie. Paradoxalement, toutes les bonnes idées (comme le "ServiceManager" qui permet de configurer des outils de création de classe) sont "mal" implémentés : au lieu de se greffer sur l'auto-loadeur pour être transparents, les factory nécessitent d'utiliser des classes tierces, et instancier une simple classe passe de "new toto()" à cinq lignes pour récupérer le service manager, l'appeler avec la bonne configuration et une closure... Bref, un framework trop abstrait pour moi, qui est parti avec énormément de bonnes idées et de bonne volonté, mais c'est égaré en route en perdant de vue la simplicité et le rendement de code...
    Français Posted 2012-11-04 16:59:21 by Yann Piquet
  • Très (trop ?) complexe à prendre en main. D'un poids difficilement imaginable pour une application web (20 à 30 Mo pour une application vide ?)
    Français Posted 2012-11-04 16:53:34 by Yann Piquet
  • voted for Yii (Like)
    I like Yii
    Posted 2012-11-03 02:13:44 by Safi'ee Madian
  • voted for Yii (Like)
    Posted 2012-11-03 00:00:37 by Taku Fujita
  • voted for Laravel (Like)
    Really cool
    Posted 2012-10-30 10:12:34 by Paul Negoescu
  • Simple, sans prise de tête, tout simplement logique :D
    Français Posted 2012-10-12 23:21:47 by neocorp
  • voted for Laravel (Like)
    L'un des meilleurs framework php, très prometteurs.
    Français Posted 2012-10-12 23:19:29 by neocorp
  • voted for Laravel (Like)
    Posted 2012-10-11 12:14:44 by Guillaume Barthe
  • voted for Laravel (Like)
    Aussi efficace qu'un autre framework, mais en enlevant les couches qui compliquent inutilement la prise en main. Très bien documenté.
    Français Posted 2012-10-07 10:08:07 by Frederic Chaplin
  • Extrèmement simple, courbe d'apprentissage très rapide.
    Français Posted 2012-10-07 10:06:31 by Frederic Chaplin
  • voted for Symfony2 (Like)
    Posted 2012-10-04 09:17:06 by fz
  • voted for Symfony2 (Like)
    Posted 2012-09-25 12:41:26 by skonsoft
  • Posted 2012-09-24 15:14:33 by FrostyZ Max
  • voted for Laravel (Like)
    Posted 2012-09-24 14:49:14 by FrostyZ Max
see older comments

Leave a comment

Build comparison tables or lists about everything !

It's free and fast to publish data into original tables

Create a table