Magento2 now using zend framewok 1 ,zend framework 2 ,symfony etc.
I want to know what are the components taken from zend framewok 1 and components taken from zend framewok 2.
For example:
- Zend_Db (from zend 1)
- Zend_Json (from zend 2)
- Zend_mvc(from Zend 1)
etc.
And also how much percent from each framework(not exactly..i know its difficult)
for example:
- zend framewok 1: 45 %
- zend framewok 2: 25 %
- symfony: 30%
update:through composer i cant identify which component using magento.
for example:
symfony/config or zend/config ( both components existed in composer)
Best Answer
Here's a quick breakdown of the components:
All those are from Zend Framework 2:
This one is a fork of Zend Framework 1.12.16:
The Symfony components are:
As David said, only the Console component is used in
app/code/Magento
the other components are used internally underlib/internal/Magento/Framework
.Regarding the percentage, a simple count of the occurences in Magento 2.1-rc1 gives you (excluding comments and
vendor
folder):Zend_
which is from ZF1Zend\
which is from ZF2Symfony