T
T
Tarakkolya2014-07-15 23:48:27
symfony
Tarakkolya, 2014-07-15 23:48:27

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

2 answer(s)
F
faost, 2014-07-17
@Tarakkolya

Use https://github.com/dustin10/VichUploaderBundle or, as VanbOK wrote above, write everything manually according to the cookbook article .

I
Ivan, 2014-07-16
@VanbOK

Here is how to do it with Doctrine
symfony.com/doc/current/cookbook/doctrine/file_upl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question