3 ms·
composer is so slow tbh. It takes ages to download package and well requires me to setup swap even when i have 4 gb ram in server.
by shirshak55 6y ago
composer is so slow tbh. It takes ages to download package and well requires me to setup swap even when i have 4 gb ram in server.
- abdusco 6y agoHave you used prestissimo? It allows parallel downloads and makes the process much much faster. https://github.com/hirak/prestissimo https://github.com/hirak/prestissimo
- azeirah 6y agoYeah, using prestissimo makes package installation sooooo much faster. My Laravel project with over 100 dependencies downloads in under a minute, where it was like... 10 minutes before
- apocalyptic0n3 6y agoI'm not sure how it compares, but an alpha for Composer 2.0 was released last week[1] and the release notes seem to imply that it runs in parallel by default now. > Added support for parallel downloads of package metadata and zip files, this requires that the curl extension is present and we thus strongly recommend enabling curl 1: https://github.com/composer/composer/releases/tag/2.0.0-alpha1 https://github.com/composer/composer/releases/tag/2.0.0-alph...
- jspaetzel 6y agoI've never had issues with this, what sort of maddening package management are you doing? Are you just talking about installs that's only an occasional hit anyways...?