frosh/bunnycdn-media-storage

1.0.4 2019-04-25 09:18 UTC

This package is auto-updated.

Last update: 2024-01-25 16:54:23 UTC


README

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.