PHPackages                             steffjenl/laravel-azure-blob-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. steffjenl/laravel-azure-blob-storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

steffjenl/laravel-azure-blob-storage
====================================

Microsoft Azure Blob Storage integration for Laravel's Storage API

1.2.0(3y ago)11152.8k—6.5%6[1 PRs](https://github.com/steffjenl/laravel-azure-blob-storage/pulls)MITPHP

Since Jul 3Pushed 2y ago3 watchersCompare

[ Source](https://github.com/steffjenl/laravel-azure-blob-storage)[ Packagist](https://packagist.org/packages/steffjenl/laravel-azure-blob-storage)[ RSS](/packages/steffjenl-laravel-azure-blob-storage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (9)Used By (0)

laravel-azure-blob-storage
==========================

[](#laravel-azure-blob-storage)

[![Build Status](https://camo.githubusercontent.com/94b2e64575a489006eb4d4f9580d1199728b1fb5cafd2821971caf5474ac404e/68747470733a2f2f7472617669732d63692e6f72672f73746566666a656e6c2f6c61726176656c2d617a7572652d626c6f622d73746f726167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/steffjenl/laravel-azure-blob-storage)

Microsoft Azure Blob Storage integration for Laravel's Storage API

This package uses the new azure storage blob package and extends the AzureBlobStorageAdapter package for specific Laravel functions. You can also use this on frameworks with Flysystem Filesystem support.

Installation
============

[](#installation)

Install the package using composer when using Laravel 9 and higher:

```
composer require steffjenl/laravel-azure-blob-storage
```

Install the package using composer when using Laravel 8 and lower:

```
composer require steffjenl/laravel-azure-blob-storage:1.0.5
```

On Laravel versions before 5.5 you also need to add the service provider to `config/app.php` manually:

```
    SteffjeNL\LaravelAzureBlobStorage\AzureBlobStorageServiceProvider::class,
```

Then add this to the `disks` section of `config/filesystems.php`:

```
        'azure' => [
            'driver'            => 'azure',
            'local_address'     => env('AZURE_STORAGE_LOCAL_ADDRESS', null),
            'name'              => env('AZURE_STORAGE_NAME'),
            'key'               => env('AZURE_STORAGE_KEY'),
            'container'         => env('AZURE_STORAGE_CONTAINER'),
            'prefix'            => env('AZURE_STORAGE_PREFIX', ''),
            'url'               => env('AZURE_STORAGE_URL', null),
        ],
```

Finally, add the fields `AZURE_STORAGE_NAME`, `AZURE_STORAGE_KEY` and `AZURE_STORAGE_CONTAINER` to your `.env` file with the appropriate credentials. Then you can set the `azure` driver as either your default or cloud driver and use it to fetch and retrieve files as usual.

Configuration
=============

[](#configuration)

If you use a DSN you can enter your DNS address in the `AZURE_STORAGE_URL` field

If you want to use a prefix so that you always work in a specific folder, you can use the `AZURE_STORAGE_PREFIX` field

If you want to use Storage Emulator you can set `AZURE_STORAGE_LOCAL_ADDRESS` to local. If your storage emulator is on an external machine you can change the `AZURE_STORAGE_LOCAL_ADDRESS` other than local. When using `local` the connection string will be `UseDevelopmentStorage=true`.

Example config for local emulator
---------------------------------

[](#example-config-for-local-emulator)

```
AZURE_STORAGE_LOCAL_ADDRESS=local
AZURE_STORAGE_NAME=devstoreaccount1
AZURE_STORAGE_KEY=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
AZURE_STORAGE_CONTAINER=CONTAINER_NAME_HERE
```

Example config for remote emulator
----------------------------------

[](#example-config-for-remote-emulator)

```
AZURE_STORAGE_LOCAL_ADDRESS=http://192.168.0.2:10000/devstoreaccount1
AZURE_STORAGE_NAME=devstoreaccount1
AZURE_STORAGE_KEY=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
AZURE_STORAGE_CONTAINER=CONTAINER_NAME_HERE
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 70.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~243 days

Recently: every ~349 days

Total

8

Last Release

1174d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4da31c2bce505d7a50c823d23a09204f4c3f32833d58b9f1a26d67ddb9c82560?d=identicon)[steffjenl](/maintainers/steffjenl)

---

Top Contributors

[![steffjenl](https://avatars.githubusercontent.com/u/2580852?v=4)](https://github.com/steffjenl "steffjenl (12 commits)")[![tvanhateren](https://avatars.githubusercontent.com/u/47851187?v=4)](https://github.com/tvanhateren "tvanhateren (3 commits)")[![rintdev](https://avatars.githubusercontent.com/u/16515937?v=4)](https://github.com/rintdev "rintdev (2 commits)")

---

Tags

laravelstorageazure

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/steffjenl-laravel-azure-blob-storage/health.svg)

```
[![Health](https://phpackages.com/badges/steffjenl-laravel-azure-blob-storage/health.svg)](https://phpackages.com/packages/steffjenl-laravel-azure-blob-storage)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
