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

Abandoned → [nimbusoft/flysystem-openstack-swift](/?search=nimbusoft%2Fflysystem-openstack-swift)ArchivedLibrary[File &amp; Storage](/categories/file-storage)

mzur/flysystem-openstack-swift
==============================

Flysystem adapter for OpenStack Swift

v1.1.0(6y ago)18.7k11MITPHP

Since Aug 26Pushed 6y ago1 watchersCompare

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

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

Flysystem Adapter for OpenStack Swift
=====================================

[](#flysystem-adapter-for-openstack-swift)

[![Build Status](https://camo.githubusercontent.com/1d1d6dc279596263e08e944ea3ce96ba4508d4ff2e494d2adcc4242094ae00b4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d7a75722f666c7973797374656d2d6f70656e737461636b2d73776966742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/mzur/flysystem-openstack-swift)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/2013c106379775b31023be2baf77fcd61a5ffc271099bce0adffc2a7b7373667/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7a75722f666c7973797374656d2d6f70656e737461636b2d73776966742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mzur/flysystem-openstack-swift)

Flysystem adapter for OpenStack Swift.

**Archived. Use [nimbusoftltd/flysystem-openstack-swift](https://github.com/nimbusoftltd/flysystem-openstack-swift) instead.**

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

[](#installation)

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

Usage
-----

[](#usage)

```
$openstack = new OpenStack\OpenStack([
    'authUrl' => '{authUrl}',
    'region'  => '{region}',
    'user'    => [
        'id'       => '{userId}',
        'password' => '{password}'
    ],
    'scope'   => ['project' => ['id' => '{projectId}']]
]);

$container = $openstack->objectStoreV1()
    ->getContainer('{containerName}');

$adapter = new Nimbusoft\Flysystem\OpenStack\SwiftAdapter($container);

$flysystem = new League\Flysystem\Filesystem($adapter);
```

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

[](#configuration)

The Swift adapter allows you to configure the behavior of uploading [large objects](https://php-opencloudopenstack.readthedocs.io/en/latest/services/object-store/v1/objects.html#create-a-large-object-over-5gb). You can set the following configuration options:

- `swiftLargeObjectThreshold`: Size of the file in bytes when to switch over to the large object upload procedure. Default is 300 MiB. The maximum allowed size of regular objects is 5 GiB.
- `swiftSegmentSize`: Size of individual segments or chunks that the large file is split up into. Default is 100 MiB. Should be below 5 GiB.
- `swiftSegmentContainer`: Name of the Swift container to store the large object segments to. Default is the same container that stores the regular files.

Example:

```
$flysystem = new League\Flysystem\Filesystem($adapter, new \League\Flysystem\Config([
    'swiftLargeObjectThreshold' => 104857600, // 100 MiB
    'swiftSegmentSize' => 52428800, // 50 MiB
    'swiftSegmentContainer' => 'mySegmentContainer',
]));
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 70.3% 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 ~159 days

Recently: every ~196 days

Total

8

Last Release

2427d ago

Major Versions

0.2.2 → v1.0.02018-09-13

### Community

Maintainers

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

---

Top Contributors

[![chrisnharvey](https://avatars.githubusercontent.com/u/619298?v=4)](https://github.com/chrisnharvey "chrisnharvey (52 commits)")[![mzur](https://avatars.githubusercontent.com/u/2457311?v=4)](https://github.com/mzur "mzur (10 commits)")[![sausin](https://avatars.githubusercontent.com/u/11542923?v=4)](https://github.com/sausin "sausin (4 commits)")[![Y0lk](https://avatars.githubusercontent.com/u/1523444?v=4)](https://github.com/Y0lk "Y0lk (4 commits)")[![mrwogu](https://avatars.githubusercontent.com/u/2917861?v=4)](https://github.com/mrwogu "mrwogu (3 commits)")[![bradjones1](https://avatars.githubusercontent.com/u/981966?v=4)](https://github.com/bradjones1 "bradjones1 (1 commits)")

---

Tags

filesystemFlysystemfilesstoragefilesystemsOpenstackswiftopencloudchrisnharvey

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nimbusoft/flysystem-openstack-swift

Flysystem adapter for OpenStack Swift

44774.4k6](/packages/nimbusoft-flysystem-openstack-swift)[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/packages/league-flysystem-aws-s3-v3)[sausin/laravel-ovh

OVH Object Storage driver for laravel

40153.5k](/packages/sausin-laravel-ovh)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)

PHPackages © 2026

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