Often it can be a little bit tricky to upload files to a web server and things become even more complicated when you want to store the uploaded files on Amazon S3. In this article I am going to explain how you can use Gaufrette to upload photos to S3 from a Symfony2 application. I ...
Avoid tight coupling between your forms and your Entities by using the Command pattern as an intermediate.
For Symfony 2 projects, add this to the doctrine dbal configuration in app/config.yml: doctrine: dbal: mapping_types: enum: string