Tuesday, December 1, 2015

PHP frameworks comparison


PHP frameworks comparison

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

Agile Toolkit

Banshee

CakePHP2

ClanCatsFramework

CodeIgniter

CodeIgniter

Fat-Free (F3)

FuelPHP

Jelix

Kohana

Laravel

Laravel

Mako

MkFramework

Mouf

Openbiz Cubi

phalcon

PHPixie

PPI Framework

Silex framework

Slim framework

Solar

Symfony2

Yii

Zend Framework 2

Zikula

Website
agiletoolkit.orgbanshee-php.orgcakephp.orgclancats.iocodeigniter.comcodeigniter.comfatfreeframework.com/...fuelphp.comjelix.orgkohanaframework.orglaravel.comlaravel.commakoframework.commkdevs.commouf-php.comopenbiz.mephalconphp.comphpixie.comwww.ppi.iosensiolabs.orgslimframework.comsolarphp.comsymfony.comyiiframework.comzend.comzikula.org

Latest version
4.34.22.6.22.0.62.2.12.2.13.4.01.7.21.5.53.3.14.24.24.4.5v4.98.42.03.0.91.3.32.*@dev1.01.2.32.6.01.1.22.6.42.0.32.2.01.3.9

Release date
2015 Jan 172014 Aug 142015 Feb 192014 Sep 162015 Jan 152015 Jan 152015 Jan 12014 Jul 132015 Feb 242013 Sep 42014 Mar 172014 Mar 172015 Mar 62014 Jul 162015 Jan 72013 Mar 62014 Sep 242014 Mar 182012 Jan 12015 Jan 202015 Mar 12010 Nov 92015 Feb 32015 Mar 12013 May 152014 Aug 22

License
AGPL, ProprietaryOpenSource (custom)MITMITBSD-styleBSD-styleGPL3MITLGPLBSDMITMITBSDLGPLV3MITBSDNew BSD LicenseBSDMITMITBSDMITBSDBSDGPL

Requirements
>=PHP5.3>= PHP 5.2.8>= PHP 5.3>= PHP 5.1.6>= PHP 5.1.6>=PHP 5.3>= PHP 5.3>= PHP 5.2>= PHP 5>= 5.3.7 with mcrypt extension>= 5.3.7 with mcrypt extension>= PHP 5.3.1PHP >= 5.2>= PHP 5.3.2>=PHP5>=PHP 5.3.0>= 5.3.0>=PHP 5.3.0>=PHP 5.3.0>= PHP 5.2>= PHP 5.3.2>= PHP 5.4>= PHP 5.3>= PHP 5.3

Backward compatibility
Toute la branche 4.* , depuis 2009
Features

Internationalization I18N / L10n
callback gettext arraygettext, PHP arrayPHP arraylanguage classlanguage classICU/intlPHP arrayXML File, PHP ArrayPHP arrayPHP arraylanguage classplugin_i18nFINEZend I18N has UI interfacegettext, PHP arraylanguage classXML (XLIFF)
CSV
PHP
gettext
database
PHP array
gettext

Code generation
DiscouragedCLICLICLICLICLICLIMkbuilder: générateur WebDiscouraged, use advanced configuration via dependency injection insteadhas built in Openbiz AppbuilderCLIYii CLI, Gii (Web based)Module Studio

ORM
Custom (Support for Joins, Expressions, Actions, Conditions, Subselects, PDO-based)CustomCCF ORM - DB\ModelActiveRecordActiveRecordAxon (SQL), M2 (MongoDB), and Jig (flat files)CustomData Access Object (DAO)CustomELOQUENT ORMELOQUENT ORMThird party. Doctrine, Propel ...Custom possibilité facilement d'utiliser un autre (doctrine par exemple)TDBM or DoctrineSupported Metadata Level ORMPHPixie ORMDoctrine
Propel2
Doctrine 2, PropelDatabase Access Objects (DAO), Active Record (AR)Doctrine

Cache storage
Extensible (Provided Session, Arrays)Memcache, APC File, APC, Memcache, RedisFile, apc, memcached, xcacheFile, apc, memcached, xcacheAPC, xCache, WinCache, Memcache, Filesystem, Shared memoryFile, Redis, Memcache, APCFile, APC, Memcache, RedisAPC,
File,
Memcached,
Memcached-tags,
SQLite,
Wincache
File System, Database, Memcached, APC, Redis, Xcache, WinCache, Memory (Arrays)File System, Database, Memcached, APC, Redis, Xcache, WinCache, Memory (Arrays)APC,
File,
Memcache / Memcached,
Memory,
Redis,
SQLite,
XCache,
ZendDisk,
ZendMemory,
WinCache
cache html de page complète et/ou de "zones"/"modules" du siteAPC, File, Memcache, Memory, or any Doctrine Cache implementationBased on Zend_CacheAPC
Redis
File
Memcached
XCache
APC,


Memcache,



XCache
APC,
eAccelerator,
XCache
APC,
Database,
eAccelerator,
File,
Memcache,
WinCache,
XCache,
ZendPlatform

Dependency injection container
Yes With autowiringYes With autowiringYes With graphical interface, compatible with ContainerInteropYesYes

Services
Integrated with packagist.orgThird partyXML-RPCXML-RPCOpenID, Twitter, Google, Yahoo, Akismet, XML-RPC, SOAP, PingbackXML-RPC and many others provided on booster.jelix.orgWebServicesAll ZF componentsSOAP / WebServices

Template System
Fast, simple built-in passive template engineXSLTCustom but Smarty/Twig can be usedPHP, CCTemplatesPHP, Simple template parser "{var_name}"PHP, Simple template parser "{var_name}"PHP, custom plugin, Twig, Haanga, Smarty, etc.PHP, Dwoo, HAML, JADE, Markdown, Mustache, Smarty, TwigjTplBlade, PHP, CustomBlade, PHP, CustomPHPBuilt-in Twig supportSmarty and PHPPHPPHP
Twig
Smarty
PHPTal
PHPPHP, TwigPHP and Prado's - Several others using Extensions (Razor, Smarty, Twig, etc)Smarty

Web2.0
Full jQuery, jQuery UI, Grid System, Native AJAX, Popovers, Custom JS widgetsFull jQuery, jQuery UI, Grid System, Native AJAX,RestFuljQuery HTML5boilerplatejQuery HTML5boilerplateJS-library agnosticJS-library agnosticjQueryJS-library agnosticbuilt-in jQuery and PrototypejQuery
Html5bolierplate
Twitter Bootstrap
Modernizr
built-in jQuery, extendable to any javascript framework

Testing library
Custom, "Tester" class or PHPUnitPHPUnitPHPUnitPHPUnit (In development)PHPUnit (In development)Built-inPHPUnitPHPUnitPHPUnitPHPUnitPHPUnitPHPUnitPHPUnitPHPUnit, SeleniumPHPUnit

Edge Side Includes
Yes include tag only

Code generation
DiscouragedCLICLICLICLICLICLIMkbuilder: générateur WebDiscouraged, use advanced configuration via dependency injection insteadhas built in Openbiz AppbuilderCLIYii CLI, Gii (Web based)Module Studio

Layer generator
YesYes DoctrineBundle, PropelBundle

Menu generator
YesYes

CRUD generation
YesYesYes Evolugrid and BCEYes SensioGeneratorBundle

Logging management
YesYesYesYesYesYes PSR-3 compliantYes PSR-3 compliant

User interface
Yes Extensible

Multiple databases
YesYesYesYesYesYesYes
Security

Xss
NoYesYesYes Built-inYes Built-inYes Built-inYesYesYesYes Via TwigYes

Xsrf
YesYesYes Built-inYes Built-inYes Built-inYesYesYesYes

Sql injection
YesYesYes Built-inYes Built-inYes Built-inYesYesYesYes Via TDBM or Doctrine

Auth module
YesYesYesYes
Resources

Website
agiletoolkit.orgbanshee-php.orgcakephp.orgclancats.iocodeigniter.comcodeigniter.comfatfreeframework.com/...fuelphp.comjelix.orgkohanaframework.orglaravel.comlaravel.commakoframework.commkdevs.commouf-php.comopenbiz.mephalconphp.comphpixie.comwww.ppi.iosensiolabs.orgslimframework.comsolarphp.comsymfony.comyiiframework.comzend.comzikula.org

Tutorial
cakephp.org/...clancats.io/...codeigniter.com/...codeigniter.com/...fatfreeframework.com/...jelix.org/...kohanaframework.org/...laravel.com/...laravel.com/...developpez.com/...mouf-php.com/...google.com/...phpixie.com/...www.ppi.io/...solarphp.com/...symfony.com/...yiiframework.com/...zend.com/...

Github / Bitbucket / Sourceforge
github.com/...github.com/...github.com/...github.com/...github.com/...github.com/...github.com/...github.com/...github.com/...developpez.com/...github.com/...google.com/...github.com/...github.com/...github.com/...github.com/...github.com/...

Commercial Support
Yes http://agiletech.ie/Yes http://cakedc.comYes www.expressionengine.comYes www.expressionengine.comNoNoYes http://www.openbiz.meYes http://symfony.com/services/supportYes http://www.clevertech.biz/blog/yii/Yes http://www.zend.com/en/support-center/support/

Notable projects using it
Hot Scripts, Affilorama...golfimport.ch clancats.comhttp://expressionengine.com http://skyclerk.com/http://expressionengine.com http://skyclerk.com/http://fatfree.sf.netHaveFnuBB forum project : http://www.havefnubb.orghttp://dupot.org http://supercapote.comhttp://packanalyst.com/ http://www.pathefilms.com/ http://www.wabel.com/ http://www.webikeo.com/ and many more!http://www.bestbuys.com, http://www.joined.com, many many moreDailymotion:
http://symfony.com/blog/dailymotion-powered-by-symfony
Drupal 8
eZ Publish 5
http://www.stay.com http://www.fictioncity.net

Twitter
@atk4@cakephp@CCF_IO@CodeIgniter@CodeIgniter@phpfatfree@fuelphp@jelixfmk@makoframework@mkframework@mouf_php@symfony@yiiframework
Your reviews

Simplicity
4.7 3 ratings0 no rating4.5 2 ratings5.0 1 rating4.6 8 ratings4.6 8 ratings4.8 4 ratings5.0 1 rating5.0 1 rating5.0 1 rating5.0 4 ratings5.0 4 ratings0 no rating5.0 3 ratings5.0 1 rating0 no rating0 no rating0 no rating0 no rating0 no rating0 no rating0 no rating3.0 2 ratings4.0 1 rating3.5 4 ratings0 no rating