I am using composer
for my project and the entire project (even the vendor
folder) is under git version control.
I know it may seem like a false action but I am in bandwidth deficit and I want to lower my bandwidth usage so I use this method to just copy the vendor
folder.
When I push to to another repository and try to run php main.php
from there It says that can not find the classes that I am using there.
I have managed to solve this problem by removing the whole vendor
folder and re running composer i
but it is not the behavior that I want. I want low bandwidth usage, I want to not wait for package installation.
I am using the same method for virtualenv
of python apps and there is the same problem but that problem can be solved by just running virtualenv venv/
again so it corrects the new paths for the copied environment. How can I achieve the same behavior with composer
? I dont see any info or command that can help me doing this.
Thanks in advance folks :)