Download the PHP package frosh/platform-bunnycdn-media-storage without Composer
On this page you can find all versions of the php package frosh/platform-bunnycdn-media-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package platform-bunnycdn-media-storage
BunnyCDN Adapter for Shopware 6
The BunnyCDN adapter allows you to manage your media files in shopware on a bunnyCDN-Storage.
Install
By composer
By zip
download latest release and upload into admin:
https://github.com/FriendsOfShopware/FroshPlatformBunnycdnMediaStorage/releases/latest/download/FroshPlatformBunnycdnMediaStorage.zip
Usage
-
Upload existing media (optional)
- by SCP from shell:
- log via SSH into you webspace and go into your shopware folder
-
run following commands (Replace STORAGEZONENAME) and confirm with the FTP-Password of your storage-zone
- Manual by FTP-Client: see docs at BunnyCDN.
- Install and activate the plugin.
-
Configure the filesystems in your
config/packages/shopware.yml
. Check the Shopware documentation for additional information.- Possible configurations for filesystem type
bunnycdn
: endpoint
: The endpoint of your storage zoneapiKey
: The FTP Password of your storage zonestorageName
: The name of your storage zonereplicationRoot
(optional): Setting this path will write files also into known local folders. This negates the advantage of saving locally storage. This needs to be an absolute path.root
(optional): The root/subfolder within your storage zone.useGarbage
(optional): When set totrue
, deleted, renamed and overwritten files are also saved to a folder namedgarbage/[currentDate]/
.-
neverDelete
(optional): When set totrue
, deleting files will not use garbage option, too. Attention: This will result in more storage usage and orphaned files in storage. - Example with filesystems
public
andsitemap
saved intobunnycdn
:
- Possible configurations for filesystem type
Recommendations and warnings
- Don't store theme or asset files on external storage if possible. Due to some improvements in shopware with 6.5 and 6.6 there are created many files. This is the reason why this would slow down theme compilation and asset installation significantly.
- Utilize storage zones with SSDs as they are significantly faster than standard option (means HDDs), with up to 80x faster upload speeds in our tests.
Suggestions
License
The MIT License (MIT). Please see License File for more information.
All versions of platform-bunnycdn-media-storage with dependencies
platformcommunity/flysystem-bunnycdn Version ^3.3.4
league/flysystem-path-prefixing Version ^3.10.3
ajgl/flysystem-replicate Version ^2.2
tinect/flysystem-garbage Version ^1.0