3 ms·
I would rather work with Pythons virtualenv and pip for dependency management, than I would PHPs Composer. In terms of initial setup of an application than doe
by mrweasel 10y ago
I would rather work with Pythons virtualenv and pip for dependency management, than I would PHPs Composer.
In terms of initial setup of an application than doesn't use anything but the standard library in either language I would completely agree with you.
Edit: Composer, not Artisan as dependency manager in PHP.
- zeitg3ist 10y agoHaving worked with both I can say that composer feels way more modern than pip.
- jbrooksuk 10y agoAs in Laravel Artisan? That's not a dependency manager. Granted, Composer is slow, but it works so well, mainly when package developers tag and release packages properly though. What issues do you have with it?
- trebor 10y agoIf you have XDebug enabled it will slow Composer, but also several patches near the official 1.0 release improved speed massively. If you haven't tried it recently, you should try Composer again.
- spdionis 10y agoExcept some performance issues composer is GREAT though.
- Navarr 10y agoI install prestissimo[1] everywhere now. It improves speed so much. "composer parallel install plugin" is what it calls itself - it downloads all the repositories before composer gets to the install step and then composer just loads everything from cache - super fast! [1]: https://github.com/hirak/prestissimo https://github.com/hirak/prestissimo
- spdionis 10y agoWow, didn't know about that, thank you.
- ifduyue 10y agoHit CTRL+C in the middle of composer install, and you will probably get an inconsistent state. Following composer commands will throw exceptions and exit. This is not a problem when it's pip.