sonata-project / SonataMediaBundle

Symfony SonataMediaBundle
https://docs.sonata-project.org/projects/SonataMediaBundle
MIT License
449 stars 496 forks source link

Replace Gauffrete since it's deprecated #1985

Open jordisala1991 opened 3 years ago

jordisala1991 commented 3 years ago

Feature Request

I have been looking at gauffrete and I don't know if it is still maintained or we should move away from it.

There are other very popular alternatives like: https://github.com/thephpleague/flysystem

IMHO looking at the future. The best would be to not take care for the FileSystem. I mean, if we are integrating with 3rd party bundle/package we should provide only the default filesystem integration and provide a way to configure an alternative filesystem service. This service can be configured with the 3rd party tool.

This way we don't end up having to replicate every single option of the different adapters, like: https://github.com/sonata-project/SonataMediaBundle/pull/1817

This is probably something to tackle for 5.0, since we don't have many resources to do it here, and there are other importants things to do.

WDYT @sonata-project/contributors . Do you know a better alternative to gauffrete? Do you use it for your own projects?

VincentLanglet commented 3 years ago

WDYT @sonata-project/contributors . Do you know a better alternative to gauffrete? Do you use it for your own projects?

I'm using gauffrete in my project, but we recently started to use https://github.com/thephpleague/flysystem too and we plan to remove gauffrete.

VincentLanglet commented 2 years ago

WDYT @sonata-project/contributors . Do you know a better alternative to gauffrete? Do you use it for your own projects?

I'm using gauffrete in my project, but we recently started to use https://github.com/thephpleague/flysystem too and we plan to remove gauffrete.

We got stuck because of an issue between VichUploader and Symfony constraints. https://github.com/dustin10/VichUploaderBundle/issues/1217

Dunno if it can be an issue here too