deprecated-packages / phpfwtrends.org

Site with statistics of PHP framework downloads - raw Packagist data over guessing and emotions
http://phpfwtrends.org
3 stars 1 forks source link

Make monorepo downloads split among packages it contains - Laravel and Symfony corrections #26

Closed TomasVotruba closed 3 years ago

TomasVotruba commented 3 years ago

There are 2 approach to download a vendor dependency:

This seems correct, but in 2nd case, we don't need to download any other symfony/* dependency, while in 1st case, there will be 1 more download per new dependency = e.g. 20+ more downlaods


This different puts Laravel framework in huge disadvatange, because laravel/framework is downloaded 10times more then specific dependency. This means numbers are 20x smaller then they should be.

image


This means the laravel/framework download should be split among every dependency that laravel/framework replaces: https://github.com/laravel/framework/blob/eaacad4ad2a8e4cecdb1d98a344e1d16206415f4/composer.json#L47-L79

TomasVotruba commented 3 years ago

@todo On the other hand, re-think if this problem is even solvable to the useful state :)