Skip to content

Instantly share code, notes, and snippets.

@mohamedhafezqo
Created July 10, 2019 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohamedhafezqo/2e6d4f80f36277c5b6b216087aeb49d0 to your computer and use it in GitHub Desktop.
Save mohamedhafezqo/2e6d4f80f36277c5b6b216087aeb49d0 to your computer and use it in GitHub Desktop.
How to install to dustin10/VichUploaderBundle

Installation

Get the bundle using composer

Add VichUploaderBundle by running this command from the terminal at the root of your Symfony project:

composer require vich/uploader-bundle

Alternatively, you can add the requirement "vich/uploader-bundle": "^1.8" to your composer.json and run composer update vich/uploader-bundle. This could be useful when the installation of VichUploaderBundle is not compatible with some currently installed dependencies. Anyway, the previous option is the preferred way, since composer can pick the best requirement constraint for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment