Hacker News new | past | comments | ask | show | jobs | submit login

> 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).

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.




Having to setup 10gb swap to get it to work is pretty awful.


I've never had to setup swap for a composer install on any machine with >1gb of memory..


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.


I'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...?


Have you used prestissimo? It allows parallel downloads and makes the process much much faster. https://github.com/hirak/prestissimo


I'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-alph...


Yeah, 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: