MehdiRahimipoui's avatar

How do you share some of files and folders (e.g. vendor, storage, ...) of your laravel projects with your collaborators in remote repositories like github?

I recently start working with Git, I created a remote repository and push my project, but .gitignore file does not let to upload whole files and folders (e.g. vendor and storage folder). so if my collaborators want to clone my project they can't fetch my laravel project fully.

My question is how do you share some of files and folders (e.g. vendor, storage, ...) of your laravel projects with your collaborators in remote repositories like github?

0 likes
1 reply
d3xt3r's avatar
d3xt3r
Best Answer
Level 29

I suppose you use 'Composer'. Ask your collaborators to use it.

if my collaborators want to clone my project they can't fetch my laravel project fully. They just need to fetch your contributions, vendor files can be fetched through composer. Storages have runtime files, cache and logs.

composer install and composer update are two very handy commands.

Please or to participate in this conversation.