Earlier quoted context omitted.
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.
Have you used prestissimo? It allows parallel downloads and makes the process much much faster. https://github.com/hirak/prestissimo
> 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-alph...