PHPackages                             openwse/flysystem-ipfs - 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. openwse/flysystem-ipfs

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

openwse/flysystem-ipfs
======================

Flysystem adapter for the IPFS API

v2.0.0(5y ago)41541MITPHPPHP ^7.4

Since May 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/openwse/flysystem-ipfs)[ Packagist](https://packagist.org/packages/openwse/flysystem-ipfs)[ Docs](https://github.com/openwse/flysystem-ipfs)[ RSS](/packages/openwse-flysystem-ipfs/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (8)Versions (6)Used By (0)

Flysystem v2 adapter for the IPFS API
-------------------------------------

[](#flysystem-v2-adapter-for-the-ipfs-api)

This package contains a [Flysystem v2](https://flysystem.thephpleague.com/) adapter for [IPFS](https://ipfs.io/). Under the hood, the [IPFS API PHP wrapper](https://github.com/openwse/ipfs-api) is used.

---

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

[](#installation)

You can install the package via composer:

```
composer require openwse/flysystem-ipfs
```

Usage
-----

[](#usage)

```
use League\Flysystem\Filesystem;
use Ipfs\Ipfs;
use Ipfs\Drivers\HttpClient;
use FlysystemIpfs\IpfsAdapter;

$client = new Ipfs(
    new HttpClient('https://ipfs-host', 5001)
);

$adapter = new IpfsAdapter($client);

$filesystem = new Filesystem($adapter);
```

Note: that removing a file on IPFS will only affect your node if the file has been pinned.

Lint
----

[](#lint)

Run [PHPMD](https://phpmd.org/), [PHPStan](https://phpstan.org/), and [PHP-CS-Fixer](https://github.com/FriendsOfPhp/PHP-CS-Fixer)

```
composer lint
```

Testing
-------

[](#testing)

It uses [tests cases provided by Flysystem](https://flysystem.thephpleague.com/v2/docs/advanced/creating-an-adapter/) but override visibility &amp; last modified settings because it's not supported by IPFS.

```
composer tests
```

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

Total

5

Last Release

1872d ago

### Community

Maintainers

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

---

Top Contributors

[![openwse](https://avatars.githubusercontent.com/u/74194234?v=4)](https://github.com/openwse "openwse (1 commits)")

---

Tags

Flysystemipfsflysystem-ipfs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/openwse-flysystem-ipfs/health.svg)

```
[![Health](https://phpackages.com/badges/openwse-flysystem-ipfs/health.svg)](https://phpackages.com/packages/openwse-flysystem-ipfs)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.0k](/packages/league-flysystem-aws-s3-v3)[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)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40432.5M136](/packages/league-flysystem-bundle)[barryvdh/elfinder-flysystem-driver

A Flysystem Driver for elFinder

1865.1M40](/packages/barryvdh-elfinder-flysystem-driver)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2682.2M18](/packages/masbug-flysystem-google-drive-ext)

PHPackages © 2026

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