Re:PHP Frameworks Code Complexity Comparison
by zapt02 on Tuesday January 10, 2017 @11:05AM
(#13365831)
In the case of Laravel vs Symphony, I think it can. Laravel packs absolutely everything you need to build a web app while still being less than half the size of Symphony, which has a lot less out of the box and expects a litany of third party packages to become functional.
[ Parent
| on HN ]
Re:PHP Frameworks Code Complexity Comparison
by tyingq on Tuesday January 10, 2017 @11:16AM
(#13365921)
Laravel seems to pull in at least 9 pieces (probably more) of Symfony via composer: https://github.com/laravel/framework/blob/5.3/composer.json
Are those pieces counted in these statistics or the "half the size" thought?
Re:PHP Frameworks Code Complexity Comparison
by zapt02 on Thursday January 12, 2017 @01:34PM
(#13384831)
Good observation. Some of them appear to be debug packages (console, debug, var-dumper) and the others seem to be quite basic stuff (routing, http handling) that is good to reuse, and is also likely something you'll have in your Symfony projects.)
Re:PHP Frameworks Code Complexity Comparison
by realityking on Tuesday January 10, 2017 @11:23AM
(#13365981)
They're not. From the article:
> The primary goal of this comparison is to compare how I personally write code vs. how other projects are writing code.