dmstr / yii2-flysystem-azure-file-system
There is no license information available for the latest version (0.0.1) of this package.
Yii2 Azure Filesystem Adapter for creocoder\flysystem
Package info
github.com/dmstr/yii2-flysystem-azure-file-system
Type:project
pkg:composer/dmstr/yii2-flysystem-azure-file-system
0.0.1
2022-01-28 11:40 UTC
Requires
This package is auto-updated.
Last update: 2026-02-28 20:50:40 UTC
README
An Yii2 Azure Filesystem Adapter for creocoder\flysystem
Installation
composer require dmstr/yii2-flysystem-azure-file-system
Configuration
Add this to your existing Yii2 config
use dmstr\flysystem\azureFileSystem\AzureFileFilesystem; return [ 'components' => [ 'fsAzureStorage' => [ 'class' => AzureFileFilesystem::class, 'accountName' => getenv('AZURE_STORAGE_ACCOUNT_NAME'), 'accountKey' => getenv('AZURE_STORAGE_ACCOUNT_KEY'), 'container' => getenv('AZURE_STORAGE_CONTAINER') ] ] ];