azure-oss/storage-blob-flysystem

Flysystem adapter for Azure Storage PHP

Installs: 647 107

Dependents: 7

Suggesters: 1

Security: 0

Stars: 27

Watchers: 4

Forks: 9

pkg:composer/azure-oss/storage-blob-flysystem

1.4.1 2025-12-02 12:15 UTC

This package is auto-updated.

Last update: 2026-01-16 15:50:35 UTC


README

Latest Version on Packagist Packagist Downloads

Important

Issues must be reported in the monorepo issue tracker. Please do not create issues in individual package repositories.

Minimum Requirements

Install

Install the package using composer:

composer require azure-oss/storage-blob-flysystem

Usage

This package provides a Flysystem adapter for Azure Blob Storage. It implements the Flysystem v3 adapter interface, allowing you to use Azure Blob Storage with any library that supports Flysystem.

use AzureOss\Storage\Blob\BlobContainerClient;
use AzureOss\Storage\BlobFlysystem\AzureBlobStorageAdapter;
use League\Flysystem\Filesystem;

$containerClient = BlobContainerClient::fromConnectionString('<connection string>', 'container-name');
$adapter = new AzureBlobStorageAdapter($containerClient);
$filesystem = new Filesystem($adapter);

// Use the filesystem as you would with any Flysystem adapter
$filesystem->write('path/to/file.txt', 'contents');
$contents = $filesystem->read('path/to/file.txt');

Documentation

For more information about using Flysystem, visit the Flysystem documentation.

Support

Do you need help, do you want to talk to us, or is there anything else?

Join us at:

License

Azure-Storage-PHP-Adapter-Flysystem is released under the MIT License. See LICENSE for details.

PHP Version Support Policy

The maintainers of this package add support for a PHP version following its initial release and drop support for a PHP version once it has reached its end of security support.