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 4y 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 5d 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 54% 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

1824d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c466fb04ebfa55213e7e99dc9dfa6204a428c4233fa2f43d5712a5ff6d911294?d=identicon)[openwse](/maintainers/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.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[oneup/flysystem-bundle

Integrates Flysystem filesystem abstraction library to your Symfony project.

64422.9M66](/packages/oneup-flysystem-bundle)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[spatie/flysystem-dropbox

Flysystem Adapter for the Dropbox v2 API

3644.6M68](/packages/spatie-flysystem-dropbox)

PHPackages © 2026

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