torqit/pimcore-flysystem-azure-bundle

There is no license information available for the latest version (v5.0.1) of this package.

v5.0.1 2025-02-05 01:07 UTC

This package is auto-updated.

Last update: 2025-03-07 18:57:42 UTC


README

This package enables Pimcore to write to an Azure Storage Account via Flysystem. It acts as a wrapper around https://github.com/Azure-OSS/azure-storage-php-adapter-flysystem. To install:

  1. Run composer require torq/pimcore-flysystem-azure-bundle
  2. Set environment variables and values for AZURE_STORAGE_ACCOUNT_NAME, AZURE_STORAGE_ACCOUNT_CONTAINER, AZURE_STORAGE_ACCOUNT_CONTAINER_ASSETS and AZURE_STORAGE_ACCOUNT_KEY which will allow the bundle to write to your Storage Account.
  3. Register the bundle by adding it to your Kernel.php:
    class Kernel extends PimcoreKernel
    {
        public function registerBundlesToCollection(BundleCollection $collection) {
            $collection->addBundle(new \Torq\PimcoreFlysystemAzureBundle\TorqPimcoreFlysystemAzureBundle);
        }
    }
  4. Add the contents of the file flysystem_example.yaml to your project's flysystem.yaml file (typically located at pimcore-root/config/packages/flysystem.yaml).