2

I have installed VichUploaderBundle with command

composer require vich/uploader-bundle 

but I forgot enter yes like the above image (default is no). And I see any VichUploaderBundle package in my app. How can I relaunch it without reinstall it?

Alexandre Tranchant
  • 4,426
  • 4
  • 43
  • 70

2 Answers2

1

As vich/uploader-bundle is installed via a recipe, you could relaunch this recipe.

Force reinstallation without removing then requiring it:

composer recipes:install vich/uploader-bundle --force -v

Here is some other useful command to use with recipes:

#List all recipes
composer recipes

#See detailed information about your bundle
composer recipes vich/uploader-bundle
Alexandre Tranchant
  • 4,426
  • 4
  • 43
  • 70
0

There is no other solution than remove it and then re-install it again using these commands

composer remove vich/uploader-bundle

cache:clear

composer require vich/uploader-bundle
khadijaiig
  • 19
  • 3