Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Storage Blob Laravel

Storage Blob Laravel Laravel Package

azure-oss/storage-blob-laravel

Azure Blob Storage filesystem driver for Laravel. Register an Azure container as a disk and use Laravel's Storage facade to upload, download, list, delete files, and generate URLs with familiar APIs—no custom SDK code required.

View on GitHub
Deep Wiki
Context7

A Laravel filesystem driver for Azure Blob Storage, letting you use Microsoft's object storage through Laravel's familiar Storage facade. It plugs in as a Flysystem adapter, so you can read, write, stream, and delete blobs with the same API you already use for local or S3 disks—no Azure SDK boilerplate required.

  • Seamless Storage::disk('azure') integration via Flysystem
  • Configurable containers, connection strings, and SAS tokens
  • Streaming uploads and downloads for large files
  • Works with Laravel's file helpers and queued jobs
  • Compatible with modern Laravel versions
Frequently asked questions about Storage Blob Laravel
How do I install the Azure Blob Storage driver for Laravel?
Install the package with Composer using composer require azure-oss/storage-blob-laravel. The service provider is auto-discovered, so standard Laravel applications do not need manual registration. After installation, add a disk entry in config/filesystems.php and select it with the Storage facade.
Which Laravel and PHP versions does azure-oss/storage-blob-laravel support?
The material reviewed does not publish a clear support matrix, and the package's useful compatibility window is bounded by both Laravel major versions and the Azure Blob PHP SDK it depends on. Check the repository's CI configuration for the Laravel and PHP versions actually tested before adopting. Do not assume support for your exact Laravel and PHP pair without verifying it first.
How do I configure an Azure Blob disk in Laravel's filesystems.php?
Add a new disk entry in config/filesystems.php alongside your local or S3 disks, using the Azure driver supplied by this package. Provide the storage account name, a key or SAS credential, the container name, and the endpoint suffix through environment variables rather than committed files. For production, load those values from Azure Key Vault or App Configuration.
Does this package support managed identity or Entra ID authentication?
The available evaluation flags this as the critical unknown: only account-key and SAS connection strings are clearly implied by the configuration described. Managed identity, DefaultAzureCredential, and private-endpoint scenarios are not confirmed, so inspect the source and documentation before designing around them. If your security model requires Entra ID, treat this as a gating requirement.
How are temporary URLs handled for Azure Blob Storage in Laravel?
Laravel's temporary URL support is implemented with Azure SAS tokens rather than S3-style presigned URLs, so expiry, permissions, and signing semantics differ. Review how container visibility and SAS permissions map before relying on it for browser uploads or downloads. Hierarchical-namespace ADLS Gen2 accounts can change these behaviors again.
Can the driver handle large multipart uploads and streaming reads?
The evaluation does not confirm multipart upload or streaming-read behavior, and memory characteristics for multi-GB files remain an open question. Test large uploads and downloads against a real Azure container before committing to this driver for media or archive workloads. If you routinely move multi-GB objects, benchmark memory use and compare against using the Azure SDK directly.
Is azure-oss/storage-blob-laravel production-ready, and is it actively maintained?
Adoption signal is weak: around 67 GitHub stars and zero dependents mean little ecosystem validation, and the project is effectively single-maintainer. The reported last release date is inconsistent, so inspect the actual commit history, tag cadence, and open-issue backlog yourself. Pin the version, monitor the repository, and keep a fallback plan because abandonment risk is the dominant concern.
How does this Azure driver differ from Laravel's S3 filesystem driver?
Azure Blob uses a flat namespace with virtual directories, so ACL and visibility mapping, Storage::url() semantics, and directory-listing behavior can differ from the S3 driver. Temporary URLs are SAS-based rather than presigned, and ADLS Gen2 hierarchical-namespace accounts change several behaviors again. Applications that depend heavily on S3-specific ACLs, presigned PUT policies, or event notifications wired into app logic are poor fits.
How should I test the Azure Blob disk in a Laravel application?
Use Storage::fake() for fast unit tests that only need the Storage facade contract, but do not expect it to validate Azure-specific behavior such as SAS URLs or listing semantics. For integration coverage, run a parity suite against a real test container: put, get, delete, exists, url, temporaryUrl, files and allFiles at depth, deleteDirectory, and one large-file upload. Compare the results side by side with your incumbent disk.
What is the safest way to migrate an existing Laravel app to this Azure Blob driver?
Add the Azure disk alongside your existing disk rather than replacing it, and source credentials from Key Vault or App Configuration instead of committed .env files. Run the parity test suite first, then dual-write or backfill, and cut reads over feature area by feature area, such as avatars before documents. Keep a rollback path and avoid a global cutover until parity passes.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager