torqit/pimcore-flysystem-azure-bundle
最新稳定版本:v5.1.1
Composer 安装命令:
composer require torqit/pimcore-flysystem-azure-bundle
包简介
README 文档
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:
- Run
composer require torq/pimcore-flysystem-azure-bundle - Set environment variables and values for
AZURE_STORAGE_ACCOUNT_NAME,AZURE_STORAGE_ACCOUNT_CONTAINER,AZURE_STORAGE_ACCOUNT_CONTAINER_ASSETSandAZURE_STORAGE_ACCOUNT_KEYwhich 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 \Torq\PimcoreFlysystemAzureBundle\TorqPimcoreFlysystemAzureBundle); } }
- Add the contents of the file
flysystem_example.yamlto your project'sflysystem.yamlfile (typically located atpimcore-root/config/packages/flysystem.yaml).
统计信息
- 总下载量: 17.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-02-02