Is it good practice to commit the vendors folder ?
I see many say that it’s bad practice.
But, I think, if I just commit the project without dependencies, what happens if anyone download the .zip or clone my git ?
Will the dependencies also be installed without commit to git?
Is git clone clever enough to know the dependencies by looking at the composer.json and download them automatically ?
And, if you say that I shouldn’t commit the vendors folder,
Should I just use require ‘vendor/autoload.php’ in my files as usual?
Or, what ?