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

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

glueful/storage-azure
=====================

Azure Blob Storage driver for the Glueful framework.

v1.0.1(1mo ago)00MITPHPPHP ^8.3

Since Jun 11Pushed 1mo agoCompare

[ Source](https://github.com/glueful/storage-azure)[ Packagist](https://packagist.org/packages/glueful/storage-azure)[ Docs](https://github.com/glueful/storage-azure)[ RSS](/packages/glueful-storage-azure/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (10)Versions (4)Used By (0)

Glueful Storage Azure
=====================

[](#glueful-storage-azure)

Azure Blob Storage driver for Glueful.

Install
-------

[](#install)

```
composer require glueful/storage-azure
php glueful extensions:enable storage-azure
```

The package auto-registers as a Glueful extension through `extra.glueful.provider`. After install, any disk with `driver => azure` is resolved by `AzureStorageDriverFactory`.

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

[](#configuration)

Add a disk under `config/storage.php`:

```
'azure' => [
    'driver' => 'azure',
    'container' => env('AZURE_STORAGE_CONTAINER'),
    'connection_string' => env('AZURE_STORAGE_CONNECTION_STRING'),
    'prefix' => env('AZURE_STORAGE_PREFIX', ''),
    'signed_ttl' => (int) env('AZURE_SIGNED_URL_TTL', 3600),
    'max_signed_ttl' => (int) env('AZURE_MAX_SIGNED_URL_TTL', 86400),
],
```

Environment variables:

```
AZURE_STORAGE_CONTAINER=media
AZURE_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName=...
AZURE_STORAGE_PREFIX=
AZURE_SIGNED_URL_TTL=3600
AZURE_MAX_SIGNED_URL_TTL=86400
```

`connection_string` is used for filesystem construction and native SAS URL generation. The connection string must include credentials that can sign SAS URLs.

### Upgrading from framework 1.53 Azure storage

[](#upgrading-from-framework-153-azure-storage)

Framework 1.54 moves Azure storage into this provider pack and this package uses `azure-oss/storage-blob-flysystem` instead of the older `league/flysystem-azure-blob-storage` plus Microsoft SDK stack. Existing `container`, `connection_string`, `prefix`, and `signed_ttl` disk config values carry over unchanged.

If an application already builds its own Flysystem adapter, it may still pass a prebuilt `adapter` instance in the disk config. The provider pack wraps that adapter directly and does not require a connection string for that escape hatch. This is an advanced/test seam for programmatic configuration, not the normal production configuration path.

Native URLs
-----------

[](#native-urls)

The framework always supports app-signed blob URLs through `/blobs/{uuid}`. Direct provider URLs are opt-in and visibility-scoped:

```
// config/uploads.php
'native_urls' => [
    'disks' => [
        'azure' => [
            'enabled' => true,
            'public' => true,
            'private' => false,
            'private_ttl' => 300,
        ],
    ],
    'max_private_ttl' => 900,
],
```

Private native URLs are bearer tokens from Azure Blob Storage. Keep them short-lived and prefer the app-signed URL when application-side authorization or revocation matters. Direct provider URL TTLs are clamped by the disk's `max_signed_ttl` value, which defaults to 86400 seconds.

Diagnostics
-----------

[](#diagnostics)

Run a read-only check:

```
php glueful storage:test azure
```

Run a write/read/delete smoke test only when you want to verify write permissions:

```
php glueful storage:test azure --write
```

Development
-----------

[](#development)

```
composer test
composer run analyze
composer run phpcs
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

42d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95650726?v=4)[msowah](/maintainers/msowah)[@msowah](https://github.com/msowah)

---

Top Contributors

[![MichaelSowah](https://avatars.githubusercontent.com/u/24699905?v=4)](https://github.com/MichaelSowah "MichaelSowah (7 commits)")

---

Tags

Flysystemstorageazureblobglueful

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.1k](/packages/league-flysystem-aws-s3-v3)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M63](/packages/creocoder-yii2-flysystem)[microsoft/azure-storage-common

This project provides a set of common code shared by Azure Storage Blob, Table, Queue and File PHP client libraries.

4318.0M6](/packages/microsoft-azure-storage-common)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

3012.1M44](/packages/league-flysystem-async-aws-s3)[azure-oss/storage

Azure Blob Storage PHP SDK

381.5M6](/packages/azure-oss-storage)[nimbusoft/flysystem-openstack-swift

Flysystem adapter for OpenStack Swift

44818.0k7](/packages/nimbusoft-flysystem-openstack-swift)

PHPackages © 2026

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