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

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

glueful/storage-s3
==================

AWS S3 and S3-compatible storage driver for the Glueful framework.

v1.0.0(today)00MITPHPPHP ^8.3

Since Jun 11Pushed todayCompare

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

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Glueful Storage S3
==================

[](#glueful-storage-s3)

AWS S3 and S3-compatible storage driver for Glueful: Cloudflare R2, MinIO, DigitalOcean Spaces, and Wasabi.

Install
-------

[](#install)

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

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

AWS S3
------

[](#aws-s3)

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

```
's3' => [
    'driver' => 's3',
    'bucket' => env('AWS_BUCKET'),
    'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    'key' => env('AWS_ACCESS_KEY_ID'),
    'secret' => env('AWS_SECRET_ACCESS_KEY'),
    'prefix' => env('AWS_PREFIX', ''),
    'cdn_base_url' => env('AWS_CDN_BASE_URL'),
],
```

Presets
-------

[](#presets)

Presets fill endpoint, region, and path-style defaults. They are still `driver => s3`; they are not separate drivers.

### Cloudflare R2

[](#cloudflare-r2)

```
'r2' => [
    'driver' => 's3',
    'preset' => 'r2',
    'account' => env('R2_ACCOUNT_ID'),
    'bucket' => env('R2_BUCKET'),
    'key' => env('R2_ACCESS_KEY_ID'),
    'secret' => env('R2_SECRET_ACCESS_KEY'),
],
```

### MinIO

[](#minio)

```
'minio' => [
    'driver' => 's3',
    'preset' => 'minio',
    'endpoint' => env('MINIO_ENDPOINT', 'http://127.0.0.1:9000'),
    'bucket' => env('MINIO_BUCKET'),
    'key' => env('MINIO_ACCESS_KEY'),
    'secret' => env('MINIO_SECRET_KEY'),
],
```

### DigitalOcean Spaces

[](#digitalocean-spaces)

```
'spaces' => [
    'driver' => 's3',
    'preset' => 'spaces',
    'region' => env('SPACES_REGION'),
    'bucket' => env('SPACES_BUCKET'),
    'key' => env('SPACES_ACCESS_KEY_ID'),
    'secret' => env('SPACES_SECRET_ACCESS_KEY'),
],
```

### Wasabi

[](#wasabi)

```
'wasabi' => [
    'driver' => 's3',
    'preset' => 'wasabi',
    'region' => env('WASABI_REGION', 'us-east-1'),
    'bucket' => env('WASABI_BUCKET'),
    'key' => env('WASABI_ACCESS_KEY_ID'),
    'secret' => env('WASABI_SECRET_ACCESS_KEY'),
],
```

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' => [
        's3' => [
            'enabled' => true,
            'public' => true,
            'private' => false,
            'private_ttl' => 300,
        ],
    ],
    'max_private_ttl' => 900,
],
```

Private native URLs are bearer tokens from the object provider. Keep them short-lived and prefer the app-signed URL when application-side authorization or revocation matters.

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

[](#diagnostics)

Run a read-only check:

```
php glueful storage:test s3
```

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

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

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

[](#development)

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

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

0d 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 (4 commits)")

---

Tags

Flysystems3storagewasabispacesr2minioglueful

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k277.8M956](/packages/league-flysystem-aws-s3-v3)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2711.6M40](/packages/league-flysystem-async-aws-s3)[mwguerra/filemanager

A full-featured file manager package for Laravel and Filament v5 with dual operating modes, drag-and-drop uploads, S3/MinIO support, and comprehensive security features.

7715.5k2](/packages/mwguerra-filemanager)

PHPackages © 2026

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