torqit/pimcore-flysystem-azure-bundle
not-reviewed
No Category
Detailstorqit/pimcore-flysystem-azure-bundle
No Category
Project Summary
Readme
This package enables Pimcore to write to an Azure Storage Account via Flysystem. It acts as a wrapper around https://github.com/thephpleague/flysystem-azure-blob-storage. To install:
- Run
composer require torqit/pimcore-flysystem-azure-bundle
- Set environment variables and values for
AZURE_STORAGE_ACCOUNT_NAME
,AZURE_STORAGE_ACCOUNT_CONTAINER
,AZURE_STORAGE_ACCOUNT_CONTAINER_ASSETS
andAZURE_STORAGE_ACCOUNT_KEY
which will allow the bundle to write to your Storage Account. - Register the bundle by adding it to your
Kernel.php
:class Kernel extends PimcoreKernel { public function registerBundlesToCollection(BundleCollection $collection) { $collection->addBundle(new \TorqIT\FlysystemAzureBundle\FlysystemAzureBundle\FlysystemAzureBundle); } }
- Add the contents of the file
flysystem_example.yaml
to your project'sflysystem.yaml
file (typically located atpimcore-root/config/packages/flysystem.yaml
).