PHPackages                             academe/laravel-azure-file-storage-driver - 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. academe/laravel-azure-file-storage-driver

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

academe/laravel-azure-file-storage-driver
=========================================

Azure File Storage filesystem driver for Laravel

1.0.1(3y ago)15134.8k↓21.8%[4 issues](https://github.com/academe/laravel-azure-file-storage-driver/issues)MITPHPPHP &gt;=8.1CI failing

Since Feb 25Pushed 3y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/d9fbe0839f616f34e61a942d7ccd3db04aaaed39a40a00b78324146884d129f5/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d652f6c61726176656c2d617a7572652d66696c652d73746f726167652d6472697665722f762f737461626c65)](https://packagist.org/packages/academe/laravel-azure-file-storage-driver)[![Total Downloads](https://camo.githubusercontent.com/fda2ca7e51a23959dcd832eabde03f96617c333130ccb3ce41bacd06595d7605/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d652f6c61726176656c2d617a7572652d66696c652d73746f726167652d6472697665722f646f776e6c6f616473)](https://packagist.org/packages/academe/laravel-azure-file-storage-driver)[![Latest Unstable Version](https://camo.githubusercontent.com/11e7242fd818abe64eb6a1c1c69397b00590336fb69904bd0dec90c542af0123/68747470733a2f2f706f7365722e707567782e6f72672f61636164656d652f6c61726176656c2d617a7572652d66696c652d73746f726167652d6472697665722f762f756e737461626c65)](https://packagist.org/packages/academe/laravel-azure-file-storage-driver)[![GitHub license](https://camo.githubusercontent.com/d16a5fa398d861dbabd8dccf395f892f5a2d579805993531d0bf9f0321d56fb2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61636164656d652f6c61726176656c2d617a7572652d66696c652d73746f726167652d6472697665722e737667)](https://github.com/academe/laravel-azure-file-storage-driver/blob/master/LICENCE)[![GitHub issues](https://camo.githubusercontent.com/33ed224f2b57fba01c0ff276a247bfd66f55baee81c1c048fbd1f4d13c58e4e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f61636164656d652f6c61726176656c2d617a7572652d66696c652d73746f726167652d6472697665722e737667)](https://github.com/academe/laravel-azure-file-storage-driver/issues)

Microsoft Azure File Storage Filesystem Driver for Laravel 6, 7 and 9
=====================================================================

[](#microsoft-azure-file-storage-filesystem-driver-for-laravel-6-7-and-9)

This package allows Microsoft Azure File Storage to be used as a filesystem in laravel 5 and 6.

Installation
------------

[](#installation)

```
composer require academe/laravel-azure-file-storage-driver

```

This package just extends the filesystem driver, and provides no additional services.

Configuration
-------------

[](#configuration)

Add the following to your `config/filesystems.php`:

```
[
    ...
    'disks' => [
        ...
        // Name this disk for your application to reference.
        'azure-file-storage' => [
            // The driver provided by this package.
            'driver' => 'azure-file-storage',

            // Account credentials.
            'storageAccount' => env('AZURE_FILE_STORAGE_ACCOUNT'),
            'storageAccessKey' => env('AZURE_FILE_STORAGE_ACCESS_KEY'),

            // The file share.
            // This driver supports one file share at a time (you cannot
            // copy or move files between shares natively).
            'fileShareName' => env('AZURE_FILE_STORAGE_SHARE_NAME'),

            // Optional settings
            'disableRecursiveDelete' => false,
            'driverOptions' => [],
            'root' => 'root/directory', // Without leading '/'
        ],
    ],
];
```

If you want to use multiple Azure file storage shares, then create additional entries in the `disks` array with the appropriate settings for each share.

An example list of environment variable entries can be found in `.env.example`. You can add that to your `.env` file and add your credentials there.

Usage
-----

[](#usage)

See [the Laravel documentation](https://laravel.com/docs/5.5/filesystem)for general usage of a file system in Laravel. A simple example follows:

```
use Storage;

// List all files recursively from the root of the Azure share:

$files = Storage::disk('azure-file-storage')->listAll();
dump($files);

// Example:
// array:25 [▼
//   0 => "file1.txt"
//   1 => "foo/file2.txt"
//   2 => "foo/dee/dar/bigfile.txt"
// ]

```

Testing
-------

[](#testing)

PHPunit tests will work against any file storage share given criteria set in `.env` based on `.env.example`.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~312 days

Recently: every ~390 days

Total

6

Last Release

1442d ago

Major Versions

0.3.0 → 1.0.02022-05-31

PHP version history (2 changes)0.1.0PHP &gt;=7.0

1.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/395934?v=4)[Jason Judge](/maintainers/judgej)[@judgej](https://github.com/judgej)

---

Top Contributors

[![judgej](https://avatars.githubusercontent.com/u/395934?v=4)](https://github.com/judgej "judgej (12 commits)")

---

Tags

laravelazuredriverfile storage

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[benjamincrozat/laravel-dropbox-driver

Dropbox storage driver for Laravel.

55275.3k2](/packages/benjamincrozat-laravel-dropbox-driver)[sausin/laravel-ovh

OVH Object Storage driver for laravel

40153.5k](/packages/sausin-laravel-ovh)[steffjenl/laravel-azure-blob-storage

Microsoft Azure Blob Storage integration for Laravel's Storage API

11152.8k](/packages/steffjenl-laravel-azure-blob-storage)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)

PHPackages © 2026

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