(06-07-2019, 09:13 AM)angrymongol Wrote: https://stackoverflow.com/search?q=composer
Almost 50k questions. That is way too many questions for a supposedly simple and easy to use dependency manager.
I always liked CI specifically because it worked straight out of the box. There is nothing you need to start working other than that tiny little zip file. That is why I liked kohana too. It had some cool features. Laravel, Symfony, Zend, Cake, etc. Those things require so much unneeded crap just to get the thing running bare. Composer is one of them. So much extra crap you don't need in a production environment either. Docs, examples, other unnecessary files, etc. Let's not kid ourselves. You know over half of the files in node_modules could be deleted and would affect nothing other than disk space.
First composer != npm. Stop compare them. Two different worlds.
You logic is messed up. Most of the big php packages use comoser. Ci4 use composer to add zendframework/zend-escaper as a dependencie.
One of your problems:
https://getcomposer.org/doc/01-basic-usa...poser-lock
Read it:
https://phptherightway.com/#composer_and_packagist