PHPackages                             ajoy39/laravel-storage-azure - 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. ajoy39/laravel-storage-azure

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

ajoy39/laravel-storage-azure
============================

An Azure Blob Storage driver for Laravel Storage

v1.0.0(5y ago)820.2k↓15.3%2[6 PRs](https://github.com/ajoy39/laravel-storage-azure/pulls)MITPHP

Since Apr 2Pushed 2y agoCompare

[ Source](https://github.com/ajoy39/laravel-storage-azure)[ Packagist](https://packagist.org/packages/ajoy39/laravel-storage-azure)[ RSS](/packages/ajoy39-laravel-storage-azure/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (3)Versions (10)Used By (0)

Azure Blob Storage Adapter for Laravel
======================================

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

This package provides an easy, out of the box, service provider for using Azure Blob Storage to back Laravel's Storage service.

### Installation

[](#installation)

```
composer require ajoy39/laravel-storage-azure

```

### Configuration

[](#configuration)

There are two options when setting up the connection, you can use the connection string provided by Azure or enter the values individually.

#### Connection String Method

[](#connection-string-method)

In config/filesystem.php add the following to your storage drivers array

```
'azure' => [
    'driver' => 'azure-blob-storage',
    'connection_string' => env('AZURE_BLOB_STORAGE_CONNECTION_STRING'),
    'container' => env('AZURE_BLOB_STORAGE_CONTAINER')
]

```

Fill in the values in your environment file

```
AZURE_BLOB_STORAGE_CONNECTION_STRING=
AZURE_BLOB_STORAGE_CONTAINER=

```

#### Explicit Configuration Method

[](#explicit-configuration-method)

In config/filesystem.php add the following to your storage drivers array

```
'azure' => [
    'driver' => 'azure-blob-storage',
    'account_name' => env('AZURE_BLOB_STORAGE_ACCOUNT_NAME'),
    'account_key' => env('AZURE_BLOB_STORAGE_ACCOUNT_KEY'),
    'container' => env('AZURE_BLOB_STORAGE_CONTAINER')
]

```

And then fill in the environment variables in your .env file or enviroment management solution

```
AZURE_BLOB_STORAGE_ACCOUNT_NAME=
AZURE_BLOB_STORAGE_ACCOUNT_KEY=
AZURE_BLOB_STORAGE_CONTAINER=

```

If you are using Azure Gov Cloud then you will have to add the endpoint suffix to the configuration array and environment variables. This step is not necassary for the connection string method, as the connection string will already have the endpoint\_suffix defined.

```
'azure' => [
    'driver' => 'azure-blob-storage',
    'account_name' => env('AZURE_BLOB_STORAGE_ACCOUNT_NAME'),
    'account_key' => env('AZURE_BLOB_STORAGE_ACCOUNT_KEY'),
    'endpoint_suffix' => env('AZURE_BLOB_STORAGE_ENDPOINT_SUFFIX')
    'container' => env('AZURE_BLOB_STORAGE_CONTAINER')
]

```

```
AZURE_BLOB_STORAGE_ACCOUNT_NAME=
AZURE_BLOB_STORAGE_ACCOUNT_KEY=
AZURE_BLOB_STORAGE_CONTAINER=
AZURE_BLOB_STORAGE_ENDPOINT_SUFFIX

```

### Usage

[](#usage)

You can now use `Storage::disk('azure')` right away. If you would like to set azure as the default storage disk, simply set the FILESYSTEM\_DRIVER environment variable

```
FILESYSTEM_DRIVER=azure

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~80 days

Total

3

Last Release

2124d ago

Major Versions

v0.2 → v1.0.02020-09-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/20bbb4a44f7250aae2a419b91fd9829b18e6a9b1fce43eae946d02182483b4aa?d=identicon)[ajoy39](/maintainers/ajoy39)

---

Top Contributors

[![ajoy39](https://avatars.githubusercontent.com/u/4281903?v=4)](https://github.com/ajoy39 "ajoy39 (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[steffjenl/laravel-azure-blob-storage

Microsoft Azure Blob Storage integration for Laravel's Storage API

11165.0k](/packages/steffjenl-laravel-azure-blob-storage)[ijin82/flysystem-azure

Laravel 10+ adapter for Windows Azure (Fork/Hack of league/flysystem-azure)

1666.8k](/packages/ijin82-flysystem-azure)

PHPackages © 2026

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