ranky/media-bundle

Status of media-bundle 2.0, add support for Symfony 7

Opened this issue · 7 comments

tacman commented

I noticed that there's a media-bundle 2.0 beta branch, what's the status of this?

Also, since it's a new release, what do you think of upgrading the dependencies to Symfony ^6.3 || ^7 and PHP 8.1?

Symfony 7 will be out in less than 2 months, so it seems like that might be a good goal for media-bundle 2.0 as well.

Sorry, I've been busy, but I'll get back to you tomorrow with the compatibilities and other bugs I've seen. Branch 2, which aims to add support for different storage, is going to take some more time, once I finish the changes mentioned above

No, I don't have a demo repository yet, I hope to do it soon with EasyAdmin, I hope this release https://github.com/ranky/media-bundle/releases/tag/v1.4.0 fixes the compatibility with Symfony 7

Eh, I don't love EasyAdmin for demos, although maybe that won't be too important. I'm more interested in seeing the entity configuration. Since this bundle already has it's own media management, is EasyAdmin necessary?

Speaking of your own management page, consider dropping webpack and using AssetMapper instead for the demo. Then you can get rid of the

  {{ encore_entry_link_tags('ranky_media', null, 'ranky_media') }}

AssetMapper is awesome. No build step. And combined with stimulus and TwigComponents, I'm able to hide away most of my javascript.

No, EasyAdmin is not necessary, I can use the Symfony demo, even simpler. Yes, I will try to use AssetMapper in the future.

Any status on a demo? I've been contributing to the version 3 branch of LiipImagineBundle, and wanted a demo repo to work with, and of course thought of this bundle, they should pair nicely together.

On a related note, intervention/image is at v2, which is at EOL, and should be updated to v3.