tinect/mediabunnycdn

bunnyCDN

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 0

Type:shopware-plugin

1.0.4 2019-04-25 09:18 UTC

This package is auto-updated.

Last update: 2024-12-22 09:57:54 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.