Answer the question
In order to leave comments, you need to log in
Is it possible to somehow upload a file to Symfony without "moronicity"?
Colleagues, good evening.
I'm trying to upload a file in Symfony 4.
There are tons of examples on how to do this.
Do I need to say that I don't get it?
I don't want to use forms, I don't have forms in my project.
All examples/solutions assume the use of a form.
I just want to upload a file to a specific folder, perhaps write information to a database.
No, you need to hang a lot of prePersist, preUpdate ...
Create some forms, and also mess with the service.
Take an example here
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question