Ad

Collaborate Using GIT - 3rd Party Libraries

- 1 answer

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?

Ad

Answer

They need to run

composer install

to install laravel and all dependencies that reside in 'vendor' folder which is ignored.

Ad
source: stackoverflow.com
Ad