flysystem-bundle icon indicating copy to clipboard operation
flysystem-bundle copied to clipboard

Add BunnyStorage Adapter

Open tacman opened this issue 1 year ago • 1 comments

It looks like there's a BunnyStorage adapter available at

https://github.com/PlatformCommunity/flysystem-bunnycdn

Can this be added to the list of Cloud Providers? Is there reason in particular it wouldn't work with the bundle?

Thx.

tacman avatar Jun 05 '24 13:06 tacman

No particular difficulties in integrating this adapter.

But to go further, it would be more interesting to rework how adapters are managed, in order to offer third-party packages the possibility of plugging themselves into the bundle.

maxhelias avatar Aug 08 '24 09:08 maxhelias

@maxhelias I would really appreciate this. Any ETA?

FluffyDiscord avatar Mar 18 '25 23:03 FluffyDiscord

@FluffyDiscord Nothing yet, I don't use BunnyCDN, so i can't try / test it.

If you'd like to try it, it's very similar to this integration: https://github.com/thephpleague/flysystem-bundle/pull/174

maxhelias avatar Mar 19 '25 08:03 maxhelias

I use it, and it works fine. Really it's just missing from the documentation.

tacman avatar Mar 19 '25 10:03 tacman

Actually, I take that back. I'm not 100% sure it works, but I think it does. Regardless, it should be documented so developers can at least know where to look.

Next time I'm working on that project I'll add and check it.

tacman avatar Mar 19 '25 10:03 tacman

I was about to say that I can create a PR this weekend if you would like, because I want to use Bunny in my project.

FluffyDiscord avatar Mar 19 '25 14:03 FluffyDiscord

PR https://github.com/thephpleague/flysystem-bundle/pull/180

FluffyDiscord avatar Mar 23 '25 08:03 FluffyDiscord

Fix https://github.com/thephpleague/flysystem-bundle/pull/180

maxhelias avatar Mar 24 '25 13:03 maxhelias