Answer the question
In order to leave comments, you need to log in
How to download symfony2 file?
There is a user entity, you need to upload a file (avatar) when registering, how is it better to do this in symphony 2? What is the best bundle to use?
Answer the question
In order to leave comments, you need to log in
Use https://github.com/dustin10/VichUploaderBundle or, as VanbOK wrote above, write everything manually according to the cookbook article .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question