microsoft/azure-storage
Deprecated PHP client libraries for Microsoft Azure Storage (Blob, Table, Queue, File). Provides APIs to create/list/delete containers, blobs, tables, entities, queues, and metadata. In community support until 17 Mar 2024, then retired.
Pros:
Psr\Http\Message\StreamInterface support). Laravel’s built-in HTTP client (Guzzle) aligns with the package’s Guzzle 6/7 compatibility.blob, table, queue, and file components allows granular adoption (e.g., use only Blob Storage for media assets).Cons:
spatie/laravel-azure-storage). Requires manual integration.Storage facade or custom controllers.spatie/laravel-azure-storage for Blob Storage only).AzureStorageService) to contain risk.league/flysystem-azure) that could replace Azure Storage?spatie/laravel-azure-storage) that reduce integration effort?BlobRestProxy) and bind them as singletons..env and injected via config files.AzureStorageService class to wrap the package).blob.uploaded). Must be implemented manually.queue:work won’t work out-of-the-box).| Phase | Action | Tools/Libraries | Risk |
|---|---|---|---|
| Short-Term (0–6 months) | Integrate package into Laravel via service layer. | Custom AzureStorageService, Laravel config. |
Low (functional risk). |
| Medium-Term (6–12 months) | Implement feature flags to isolate package usage. | Laravel’s config('features.azure_storage'). |
Medium (complexity). |
| Long-Term (12–18 months) | Migrate to Azure SDK for PHP or AWS S3 alternative. | azure/azure-sdk-for-php, league/flysystem-azure. |
High (breaking changes). |
| Post-March 2024 | Replace deprecated package; update all dependencies. | Custom scripts, CI checks. | Critical (downtime risk). |
Storage facade for blob operations.event(new AzureBlobUploaded($blob))).azure-storage-blob for a single use case (e.g., user uploads).AzureStorageService facade/wrapper..env and Laravel config.AzureBlobDeleted).azure-storage-blob).guzzlehttp/psr7) may introduce vulnerabilities.composer.json to avoid auto-updates.How can I help you explore Laravel packages today?