Part of the Flysystem ecosystem · 10 projects
This module integrates Azure Blob Storage with Drupal's Flysystem module. It allows Drupal to store and retrieve files from Azure Blob Storage, providing a remote storage solution for your Drupal site's assets.
Provides plugin to integrate Azure Blob Storage with Flysystem module.
Requirements
Requires the Flysystem module:
https://www.drupal.org/project/flysystem
and the league/flysystem-azure-blob-storage library:
https://github.com/thephpleague/flysystem-azure-blob-storage
Requires an Azure Blob Storage account.
Install
Install can be done through composer, as dependencies are required:
composer require drupal/flysystem_az_blob
Configuration
You can get all the configuration variables you need from Azure:
- Goto storage account you want to use and then Settings -> Access keys
- Click the show keys button
Make a note of the following:
- DefaultEndpointsProtocol
- AccountName
- AccountKey
- EndpointSuffix
- Container Name (Blob service -> Containers in the storage account)
When you have these, add the below to your web/sites/default/settings.php file:
$schemes = [
'az_blob' => [
'driver' => 'azure_blob_storage',
'config' => [
'name' => '<your account name>',
'key' => '<your account key>',
'container' => '<your container name>',
'prefix' => '<your prefix>',
'endpointSuffix' => '<your endpoint suffix>',
'protocol' => 'https',
],
'cache' => TRUE,
#'serve_js' => TRUE,
#'serve_css' => TRUE,
],
];
$settings['flysystem'] = $schemes;
Ask your assistant about Flysystem - Azure Blob Storage
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Flysystem ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.x-dev | Dev | 8–9 | Mar 15, 2023 |