I am working on a php project and relying on composer for installing dependencies which is working fine in my case but when I try to commit the files things get tricky.
A simplified view of my composer.json is as follows.
"require": {
"apache/log4php": "2.3.0",
"asojon/mysql-pdo-wrapper": "dev-master"
},
"autoload":{
"psr-0":{
"": ""
}
}
When I ran composer install it created 3 folders namely composer,apache and asojon and autoload.php file under vendor folder.Then I went ahead and comited the vendor folder and now when I clone my project repo all the files under vendor/apache and vendor/asojon are empty. Am i missing something here ?
</div>