PHPackages                             mzur/laravel-openstack-swift - 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. mzur/laravel-openstack-swift

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

mzur/laravel-openstack-swift
============================

OpenStack Swift storage driver for Laravel/Lumen.

v2.2.0(2y ago)750.6k↓29.4%11MITPHP

Since Feb 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mzur/laravel-openstack-swift)[ Packagist](https://packagist.org/packages/mzur/laravel-openstack-swift)[ RSS](/packages/mzur-laravel-openstack-swift/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (28)Used By (0)

Laravel OpenStack Swift
=======================

[](#laravel-openstack-swift)

OpenStack Swift storage driver for Laravel/Lumen.

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

[](#installation)

Require the package with Composer:

```
composer require mzur/laravel-openstack-swift

```

### Laravel

[](#laravel)

This package is auto-discovered.

### Lumen

[](#lumen)

Add the service provider to `bootstrap/app.php`:

```
$app->register(Mzur\Filesystem\SwiftServiceProvider::class);
```

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

[](#configuration)

Add a new storage disk to `config/filesystems.php` (using v3 of the identity API):

```
'disks' => [
   'openstack' => [
      'driver'    => 'swift',
      'authUrl'   => env('OS_AUTH_URL', ''),
      'region'    => env('OS_REGION_NAME', ''),
      'user'      => env('OS_USERNAME', ''),
      'domain'    => env('OS_USER_DOMAIN_NAME', 'default'),
      'password'  => env('OS_PASSWORD', ''),
      'container' => env('OS_CONTAINER_NAME', ''),
   ],
]
```

Additional configuration options:

- `projectId` (default: `null`) if you want to scope access to a specific project
- `debugLog` (default: `false`), `logger` (default: `null`), `messageFormatter` (default: `null`) [\[ref\]](https://github.com/php-opencloud/openstack/issues/47#issuecomment-208181121)
- `requestOptions` (default: `[]`) [\[ref\]](https://github.com/php-opencloud/openstack/pull/63#issue-74731062)
- `swiftLargeObjectThreshold` [\[ref\]](https://github.com/mzur/flysystem-openstack-swift#configuration)
- `swiftSegmentSize` [\[ref\]](https://github.com/mzur/flysystem-openstack-swift#configuration)
- `swiftSegmentContainer` [\[ref\]](https://github.com/mzur/flysystem-openstack-swift#configuration)
- `root` (default: `null`): Prefix to use for the names of the objects in the container.
- `url` (default: `null`): Override URL to use for public URLs to objects. If this is not set, the public URL will point to the public URL of Swift. This configuration is useful if you use a reverse proxy to pass through requests to public Swift containers.
- `tempUrlKey`: The account or container level key for [temporary URLs](https://docs.openstack.org/swift/latest/api/temporary_url_middleware.html). If set, support for [temporary URLs](https://laravel.com/docs/master/filesystem#temporary-urls) is automatically enabled for the storage disk.
- `ttl`: Override the duration the OpenStack authentication token should be cached (in seconds). Values that are longer than the `expires_at` of the token are ignored.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~81 days

Recently: every ~171 days

Total

27

Last Release

957d ago

Major Versions

v1.14.1 → v2.0.02022-02-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2457311?v=4)[Martin Zurowietz](/maintainers/mzur)[@mzur](https://github.com/mzur)

---

Top Contributors

[![mzur](https://avatars.githubusercontent.com/u/2457311?v=4)](https://github.com/mzur "mzur (41 commits)")[![sshaik305](https://avatars.githubusercontent.com/u/27679581?v=4)](https://github.com/sshaik305 "sshaik305 (2 commits)")[![thannaske](https://avatars.githubusercontent.com/u/8004696?v=4)](https://github.com/thannaske "thannaske (1 commits)")

---

Tags

flysystemlaravelopenstack-swift

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mzur-laravel-openstack-swift/health.svg)

```
[![Health](https://phpackages.com/badges/mzur-laravel-openstack-swift/health.svg)](https://phpackages.com/packages/mzur-laravel-openstack-swift)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.5M85](/packages/unisharp-laravel-filemanager)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[illuminate/view

The Illuminate View package.

13047.0M2.2k](/packages/illuminate-view)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)

PHPackages © 2026

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