Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FriendsOfShopware/FroshBunnycdnMediaStorage
This plugin allows you to use BunnyCDN as a media storage.
https://github.com/FriendsOfShopware/FroshBunnycdnMediaStorage
Last synced: 3 months ago
JSON representation
This plugin allows you to use BunnyCDN as a media storage.
- Host: GitHub
- URL: https://github.com/FriendsOfShopware/FroshBunnycdnMediaStorage
- Owner: FriendsOfShopware
- Created: 2018-09-28T14:12:26.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T14:41:41.000Z (over 1 year ago)
- Last Synced: 2024-05-01T15:31:31.539Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 108 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-shopware - BunnyCDN - BunnyCDN adapter. (Media Adapter)
README
# BunnyCDN Adapter for Shopware 5
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
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
```php
'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
- [FroshThumbnailProcessor](https://github.com/FriendsOfShopware/FroshThumbnailProcessor)
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.