Skip to content

This plugin allows you to use BunnyCDN as a media storage.

Notifications You must be signed in to change notification settings

FriendsOfShopware/FroshBunnycdnMediaStorage

Repository files navigation

BunnyCDN Adapter for Shopware 5

Software License

The BunnyCDN adapter allows you to manage your media files in shopware on a bunnyCDN-Storage.

Install

Download the plugin from the release page and enable it in shopware.

Usage

Update your config.php in your root directory and fill in your own values

'cdn' => [
    'backend' => 'bunnycdn',
    'adapters' => [
        'bunnycdn' =>
            [
                'type' => 'bunnycdn',
                'mediaUrl' => 'https://example.b-cdn.net/',
                'apiUrl' => 'https://storage.bunnycdn.com/example/',
                'apiKey' => 'secret-api-key'
            ]
     ]
]

Migration

bin/console sw:media:migrate --from=local --to=bunnycdn

More info: https://developers.shopware.com/developers-guide/shopware-5-media-service/#file-system-adapters

Suggestions

License

The MIT License (MIT). Please see License File for more information.

About

This plugin allows you to use BunnyCDN as a media storage.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages