Symfony2 File Upload with Related Entities

Here is how I do it, thank me later.

What it does? Upload an image file and an audio file and add an encode job.
The purpose is to join an image and a mp3 into a mkv file x264 encoded with ffmpeg.
But this here is only to upload the files and add the related entities. Yes I am very proud of myself for having accomplished this even if it was extremely more complicated than just doing it in PHP.

Entities:

Encodejob

Image

Audio

Form

Controller

new.html.twig

Spread the love
Published
Categorized as Allgemein

By Darko Luketic

I'm a self-employed developer since 2004. I have been working professionally since 2000. My first contact with computers was the C64 at the age of 11 where I coded in machine code and assembler. I worked with PHP professionally for 11 years, nowadays I prefer Angular, Go and Flutter, but I'm open minded. However I would dislike taking a step back to PHP. My services are for hire I'm also looking for remote employment.

1 comment

Leave a comment

Your email address will not be published. Required fields are marked *