vendor已存在
``` rm -rf vendor git add -A git commit -m "remove vendor" composer update --prefer-dist git add . -A git commit -m "recover vendor" ```
vendor不存在
``` composer update --prefer-dist git add . -A git commit -m "recover vendor" ```