CodeIgniter Forums
composer: What is the difference between rootpath and vendor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: composer: What is the difference between rootpath and vendor (/thread-76131.html)



composer: What is the difference between rootpath and vendor - elserra - 04-15-2020

I am new to composer and there is this one thing I do not understand:

Installing CI via composer creates a folder called vendor. All the extensions and stuff get installed there. Up to here everything ok, but why is every folder of CI (but system) twice? Why is CI under vendor at all? Shouldn't it be enough with the rootpath? How does CI know where I changed what file?

Huh Huh Huh

If somebody know where to find the answer to this I would be happy to follow any link. 

Cheers


RE: composer: What is the difference between rootpath and vendor - jreklund - 04-17-2020

Hi, I have answer similar question here: https://forum.codeigniter.com/thread-75790.html?highlight=composer


RE: composer: What is the difference between rootpath and vendor - elserra - 04-17-2020

Thanks, I'll continue from there.

Cheers