6 ms·
> One thing that still sucks is package management / composer What about Composer? Sure is in par with Slack when it comes to memory usage, bit it's functional
by Ayesh 6y ago
> One thing that still sucks is package management / composer
What about Composer? Sure is in par with Slack when it comes to memory usage, bit it's functional and feature rich. v2 has partial offline support, faster downloads, etc. (https://php.watch/articles/composer-2 https://php.watch/articles/composer-2).
Composer IMHO is one of the best dependency managers for any language out there.
Disclaimer: the link above is a for a site I maintain.
- plopz 6y agoHaving to setup 10gb swap to get it to work is pretty awful.
- Implicated 6y agoI've never had to setup swap for a composer install on any machine with >1gb of memory..
- shirshak55 6y agocomposer 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...?