PHPackages                             diamondbybold/laravel-flysystem-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. diamondbybold/laravel-flysystem-azure-blob-storage

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

diamondbybold/laravel-flysystem-azure-blob-storage
==================================================

Laravel Wrapper for Flysystem Azure Blob Storage

1.1.0(6y ago)12.7k↓100%2[4 PRs](https://github.com/diamondbybold/laravel-flysystem-azure-blob-storage/pulls)MITPHPPHP ^7.2CI failing

Since May 3Pushed 5y ago7 watchersCompare

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

READMEChangelogDependencies (4)Versions (6)Used By (0)

Laravel Flysystem Azure Blob Storage
====================================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/2f952dc6923a9b902dad239b2f732a74c81bf390c8a77d33287cff36cef0267b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469616d6f6e646279626f6c642f6c61726176656c2d666c7973797374656d2d617a7572652d626c6f622d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/diamondbybold/laravel-flysystem-azure-blob-storage)[![Build Status](https://camo.githubusercontent.com/9e1b98b8e1597e5e28c4d486172a8c344b087ef476e40656a56a6abec153dac0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6469616d6f6e646279626f6c642f6c61726176656c2d666c7973797374656d2d617a7572652d626c6f622d73746f726167652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/diamondbybold/laravel-flysystem-azure-blob-storage)[![Quality Score](https://camo.githubusercontent.com/f82feec97a9a22b673bd795a8d930055417be5e452c79efe2a847769d04b3102/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6469616d6f6e646279626f6c642f6c61726176656c2d666c7973797374656d2d617a7572652d626c6f622d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/diamondbybold/laravel-flysystem-azure-blob-storage)[![Total Downloads](https://camo.githubusercontent.com/d878886af7a38e36f5e053dfe8125256c1d41013bb0de47b0365453a5218cc86/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469616d6f6e646279626f6c642f6c61726176656c2d666c7973797374656d2d617a7572652d626c6f622d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/diamondbybold/laravel-flysystem-azure-blob-storage)

A Laravel wrapper for [Flysystem Azure Blob Storage](https://flysystem.thephpleague.com/docs/adapter/azure/) adapter.

Includes:

- A Service Provider for Laravel
    - adding an `azure` disk for Laravel's File Storage abstraction of [Flysystem](https://github.com/thephpleague/flysystem)
- Integration with [Spatie's Media Library](https://docs.spatie.be/laravel-medialibrary) providing
    - a `AzureBlobUrlGenerator` ()

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

[](#installation)

You can install the package via composer:

```
composer require diamondbybold/laravel-flysystem-azure-blob-storage
```

Usage
-----

[](#usage)

The Service Provider is automatically registered on Laravel &gt;= 5.5.

Configure your disk in `config/filesystem.php`

```
    'disks' => [

        'azure'  => [
            'driver' => 'azure',
            'account' => [
                'name' => env('AZURE_ACCOUNT_NAME'),
                'key' => env('AZURE_ACCOUNT_KEY'),
            ],
            'endpoint-suffix' => env('AZURE_ENDPOINT_SUFFIX', 'core.windows.net'),
            'container' => env('AZURE_CONTAINER', 'public')
        ]

    ]
```

### For integration with Media Library

[](#for-integration-with-media-library)

Install and configure Media Library.

Add the following to `config/medialibrary.php`

```
    'azure' => [
        'domain'    => 'https://' . env('AZURE_ACCOUNT_NAME') . '.blob.' . env('AZURE_ENDPOINT_SUFFIX') .
            '/' . env('AZURE_CONTAINER'),
    ],

     /*
      * When urls to files get generated, this class will be called. Leave empty
      * if your files are stored locally above the site root or on s3.
      */
    'url_generator' => env('MEDIA_LIBRARY_DISK_NAME', 'public') == 'azure'
        ? \DiamondByBOLD\FlysystemAzureBlobStorage\MediaLibrary\UrlGenerator\AzureBlobUrlGenerator::class
        : null,
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [João Machado](https://github.com/joaoffm)
- [All Contributors](../../contributors)

This package was made based on [A skeleton repository for Spatie's PHP Packages](https://github.com/spatie/skeleton-php).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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 ~280 days

Total

2

Last Release

2286d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.1.0PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/79842f5ee64e86139aeb5551a228281ee872c47d4dded720eb0d2213b24f14fa?d=identicon)[diamondbybold](/maintainers/diamondbybold)

---

Top Contributors

[![joaoffm](https://avatars.githubusercontent.com/u/191801?v=4)](https://github.com/joaoffm "joaoffm (2 commits)")

---

Tags

azureazure-blobflysystemflysystem-adapterlaravellaravel-frameworkspatie-laravel-medialibraryFlysystemlaravelstorageazureblobdiamondbyboldlaravel-flysystem-azure-blob-storage

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[steffjenl/laravel-azure-blob-storage

Microsoft Azure Blob Storage integration for Laravel's Storage API

11152.8k](/packages/steffjenl-laravel-azure-blob-storage)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

1211.2k](/packages/zing-laravel-flysystem-obs)

PHPackages © 2026

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