azure-oss/storage-blob-symfony
azure-oss/storage-blob-flysystem) are framework-agnostic. This makes it highly adaptable for Laravel projects using Flysystem (e.g., via league/flysystem-laravel or spatie/laravel-flysystem).azure_oss adapter in flysystem.yaml, requiring minimal configuration changes. Existing Laravel Flysystem integrations (e.g., Spatie’s package) can reuse this adapter with zero code changes in most cases.league/flysystem-bundle (Symfony) or equivalent (Laravel). For Laravel, compatibility with spatie/laravel-flysystem or manual Flysystem setup is feasible.azure-oss/storage-blob-flysystem depends on azure-oss/storage (the core SDK), which must be installed separately.flysystem.yaml.flysystem-bundle, so either:
spatie/laravel-flysystem (recommended) and manually register the azure_oss adapter, orspatie/laravel-flysystem already in use, or will a custom setup be needed?flysystem-bundle. Drop-in replacement for Azure Blob Storage with minimal config changes.# config/packages/flysystem.yaml
flysystem:
storages:
azure_blob:
adapter: 'azure_oss'
options:
service_name: 'azure_oss'
connection: 'default'
container: 'my-container'
spatie/laravel-flysystem + custom adapter registration.
azure_oss adapter in config/filesystems.php:
'azure_oss' => [
'driver' => 'flysystem',
'visibility' => 'public',
'adapter' => AzureOss\Storage\BlobFlysystem\AzureBlobStorageAdapter::class,
'options' => [
'service_name' => 'azure_oss',
'connection' => env('AZURE_CONNECTION_STRING'),
'container' => env('AZURE_CONTAINER'),
],
],
league/flysystem and the azure-oss/storage-blob-flysystem package.azure-oss/storage (core SDK) and league/flysystem (v3.x recommended).aws, local, or other adapters in flysystem.yaml/filesystems.php with azure_oss.- adapter: 'aws'
+ adapter: 'azure_oss'
options:
- key: '...'
- secret: '...'
+ connection: '%env(AZURE_CONNECTION_STRING)%'
+ container: 'my-container'
Storage facade).league/flysystem-bundle (v2.x+).spatie/laravel-flysystem (v3.x) or manual Flysystem setup.azure-oss/storage compatibility).azure-oss/storage (community-driven), which may diverge from Microsoft’s official SDK. Validate feature parity.composer require azure-oss/storage-blob-symfony azure-oss/storage league/flysystem
spatie/laravel-flysystem if not already present..env:
AZURE_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName=...;AccountKey=...;EndpointSuffix=core.windows.net
AZURE_CONTAINER=my-container
flysystem.yaml (Symfony) or filesystems.php (Laravel).azure-oss/storage for updates (new releases every 6 months per README).composer.json to avoid unexpected breaking changes.azure-oss/storage) for critical fixes.flyntcloud/flysystem-azure).How can I help you explore Laravel packages today?